Class: HttpResponse
- Inherits:
-
Object
- Object
- HttpResponse
- Defined in:
- lib/easy_request/http_response.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.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
2 3 4 |
# File 'lib/easy_request/http_response.rb', line 2 def body @body end |
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/easy_request/http_response.rb', line 3 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/easy_request/http_response.rb', line 4 def headers @headers end |