Class: Zizq::Client::RawResponse
- Inherits:
-
Data
- Object
- Data
- Zizq::Client::RawResponse
- Defined in:
- lib/zizq/client.rb
Overview
A fully-read HTTP response (status + decoded body), safe to use outside the async reactor that produced it.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
31 32 33 |
# File 'lib/zizq/client.rb', line 31 def body @body end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
31 32 33 |
# File 'lib/zizq/client.rb', line 31 def content_type @content_type end |
#status ⇒ Object (readonly)
Returns the value of attribute status
31 32 33 |
# File 'lib/zizq/client.rb', line 31 def status @status end |