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.
Methods inherited from Base
#data, #error?, #failure?, #objects, #parsed_response, #status, #success?
Constructor Details
#initialize(response) ⇒ Timeout
7 8 9 10 |
# File 'lib/smooth_operator/remote_call/errors/timeout.rb', line 7 def initialize(response) @response = response @http_status = 0 end |