Class: SmoothOperator::RemoteCall::Errors::ConnectionFailed

Inherits:
Base
  • Object
show all
Defined in:
lib/smooth_operator/remote_call/errors/connection_failed.rb

Instance Attribute Summary

Attributes inherited from Base

#body, #headers, #http_status, #object, #response

Instance Method Summary collapse

Methods inherited from Base

#data, #error?, #failure?, #objects, #parsed_response, #status, #success?

Constructor Details

#initialize(response) ⇒ ConnectionFailed



7
8
9
10
# File 'lib/smooth_operator/remote_call/errors/connection_failed.rb', line 7

def initialize(response)
  @response = response
  @http_status = 0
end