Class: SmoothOperator::RemoteCall::Faraday
- Defined in:
- lib/smooth_operator/remote_call/faraday.rb
Instance Attribute Summary
Attributes inherited from Base
#body, #headers, #http_status, #object, #response
Instance Method Summary collapse
-
#initialize(response) ⇒ Faraday
constructor
A new instance of Faraday.
Methods inherited from Base
#data, #error?, #failure?, #objects, #parsed_response, #status, #success?
Constructor Details
#initialize(response) ⇒ Faraday
Returns a new instance of Faraday.
7 8 9 10 11 12 13 |
# File 'lib/smooth_operator/remote_call/faraday.rb', line 7 def initialize(response) @response = response @body = response.body @headers = response.headers @http_status = response.status end |