Class: Endpointer::Response
- Inherits:
-
Struct
- Object
- Struct
- Endpointer::Response
- Defined in:
- lib/endpointer/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/endpointer/response.rb', line 2 def body @body end |
#code ⇒ Object
Returns the value of attribute code
2 3 4 |
# File 'lib/endpointer/response.rb', line 2 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers
2 3 4 |
# File 'lib/endpointer/response.rb', line 2 def headers @headers end |