Class: LoogiHttp::Response

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/loogi_http/response.rb

Overview

Wraps a ‘Faraday::Response`.

Instance Method Summary collapse

Constructor Details

#initialize(faraday_response) ⇒ Response

Returns a new instance of Response.

Parameters:

  • faraday_response (Faraday::Response)

    The wrapped ‘Response`



12
13
14
# File 'lib/loogi_http/response.rb', line 12

def initialize(faraday_response)
  @faraday_response = faraday_response
end