Class: HTTParty::DryIce::CachedHTTPartyResponse
- Inherits:
-
Object
- Object
- HTTParty::DryIce::CachedHTTPartyResponse
- Defined in:
- lib/dry_ice.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(headers, body) ⇒ CachedHTTPartyResponse
constructor
A new instance of CachedHTTPartyResponse.
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
#body ⇒ Object
Returns the value of attribute body.
139 140 141 |
# File 'lib/dry_ice.rb', line 139 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
139 140 141 |
# File 'lib/dry_ice.rb', line 139 def headers @headers end |