Class: SmoothOperator::RemoteCall::Errors::Timeout
- Defined in:
- lib/smooth_operator/remote_call/errors/timeout.rb
Instance Attribute Summary
Attributes inherited from Base
#body, #headers, #http_status, #object, #response
Instance Method Summary collapse
-
#initialize(response) ⇒ Timeout
constructor
A new instance of Timeout.
- #timeout? ⇒ Boolean
Methods inherited from Base
#client_error?, #connection_failed?, #cookie, #data, #error?, #not_found?, #not_processed?, #ok?, #parsed_response, #server_error?, #status
Constructor Details
#initialize(response) ⇒ Timeout
Returns a new instance of Timeout.
7 8 9 10 |
# File 'lib/smooth_operator/remote_call/errors/timeout.rb', line 7 def initialize(response) super @http_status = 0 end |
Instance Method Details
#timeout? ⇒ Boolean
12 13 14 |
# File 'lib/smooth_operator/remote_call/errors/timeout.rb', line 12 def timeout? true end |