Class: HTTParty::DryIce::CachedHTTPartyResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/dry_ice.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(headers, body, parsed_response) ⇒ CachedHTTPartyResponse

Returns a new instance of CachedHTTPartyResponse.



149
150
151
# File 'lib/dry_ice.rb', line 149

def initialize(headers, body, parsed_response)
  @headers, @body, @parsed_response = headers, body, parsed_response
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



147
148
149
# File 'lib/dry_ice.rb', line 147

def body
  @body
end

#headersObject

Returns the value of attribute headers.



147
148
149
# File 'lib/dry_ice.rb', line 147

def headers
  @headers
end

#parsed_responseObject

Returns the value of attribute parsed_response.



147
148
149
# File 'lib/dry_ice.rb', line 147

def parsed_response
  @parsed_response
end