Cross Reference: base_error_handler.rb
xref
: /
ontohub
/
lib
/
uri_fetcher
/
base_error_handler.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
module
UriFetcher
class
BaseErrorHandler
attr_reader
:
http_caller
, :
response
def
initialize
(
http_caller
)
@
http_caller
=
http_caller
end
def
call
(
response
)
@
response
=
response
perform
end
# returns false if it was not able to handle the error
def
perform
false
end
end
end