Class: Zizq::Client::RawResponse
- Inherits:
-
Data
- Object
- Data
- Zizq::Client::RawResponse
- Defined in:
- lib/zizq/client.rb,
sig/generated/zizq/client.rbs
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.
Class Method Summary collapse
Instance Method Summary collapse
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 |
Class Method Details
.members ⇒ [ :status, :body, :content_type ]
26 |
# File 'sig/generated/zizq/client.rbs', line 26
def self.members: () -> [ :status, :body, :content_type ]
|
.new(status, body, content_type) ⇒ instance .new(status:, body:, content_type:) ⇒ instance
23 24 |
# File 'sig/generated/zizq/client.rbs', line 23
def self.new: (untyped status, untyped body, untyped content_type) -> instance
| (status: untyped, body: untyped, content_type: untyped) -> instance
|
Instance Method Details
#members ⇒ [ :status, :body, :content_type ]
28 |
# File 'sig/generated/zizq/client.rbs', line 28
def members: () -> [ :status, :body, :content_type ]
|