Class: Mashape::HttpResponse
- Inherits:
-
Object
- Object
- Mashape::HttpResponse
- Defined in:
- lib/http_client.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#raw_body ⇒ Object
Returns the value of attribute raw_body.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
19 20 21 |
# File 'lib/http_client.rb', line 19 def body @body end |
#code ⇒ Object
Returns the value of attribute code.
17 18 19 |
# File 'lib/http_client.rb', line 17 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers.
20 21 22 |
# File 'lib/http_client.rb', line 20 def headers @headers end |
#raw_body ⇒ Object
Returns the value of attribute raw_body.
18 19 20 |
# File 'lib/http_client.rb', line 18 def raw_body @raw_body end |