Class: Wire::Response
- Inherits:
-
Struct
- Object
- Struct
- Wire::Response
- Defined in:
- lib/wire/client.rb
Overview
Response is the transport-agnostic result an http_adapter must return.
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
141 142 143 |
# File 'lib/wire/client.rb', line 141 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
141 142 143 |
# File 'lib/wire/client.rb', line 141 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status
141 142 143 |
# File 'lib/wire/client.rb', line 141 def status @status end |