Class: Fog::Response
- Inherits:
-
Object
- Object
- Fog::Response
- Defined in:
- lib/fog/response.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#request ⇒ Object
Returns the value of attribute request.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize ⇒ Response
Returns a new instance of Response.
6 7 8 9 |
# File 'lib/fog/response.rb', line 6 def initialize @body = '' @headers = {} end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/fog/response.rb', line 4 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/fog/response.rb', line 4 def headers @headers end |
#request ⇒ Object
Returns the value of attribute request.
4 5 6 |
# File 'lib/fog/response.rb', line 4 def request @request end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/fog/response.rb', line 4 def status @status end |