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) ⇒ CachedHTTPartyResponse

Returns a new instance of CachedHTTPartyResponse.



141
142
143
# File 'lib/dry_ice.rb', line 141

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

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



139
140
141
# File 'lib/dry_ice.rb', line 139

def body
  @body
end

#headersObject

Returns the value of attribute headers.



139
140
141
# File 'lib/dry_ice.rb', line 139

def headers
  @headers
end