Class: Hellio::Response
- Inherits:
-
Struct
- Object
- Struct
- Hellio::Response
- Defined in:
- lib/hellio/http.rb
Overview
A minimal HTTP response value object returned by an adapter.
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
8 9 10 |
# File 'lib/hellio/http.rb', line 8 def body @body end |
#status ⇒ Object
Returns the value of attribute status
8 9 10 |
# File 'lib/hellio/http.rb', line 8 def status @status end |