Class: TesoteSdk::Transport::RawResponse
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Transport::RawResponse
- Defined in:
- lib/tesote_sdk/transport.rb
Overview
Returns a RawResponse with body string + headers — used for file-download endpoints (CSV/JSON export) where the SDK should not parse the body.
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#content_disposition ⇒ Object
Returns the value of attribute content_disposition.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
126 127 128 |
# File 'lib/tesote_sdk/transport.rb', line 126 def body @body end |
#content_disposition ⇒ Object
Returns the value of attribute content_disposition
126 127 128 |
# File 'lib/tesote_sdk/transport.rb', line 126 def content_disposition @content_disposition end |
#content_type ⇒ Object
Returns the value of attribute content_type
126 127 128 |
# File 'lib/tesote_sdk/transport.rb', line 126 def content_type @content_type end |
#request_id ⇒ Object
Returns the value of attribute request_id
126 127 128 |
# File 'lib/tesote_sdk/transport.rb', line 126 def request_id @request_id end |
#status ⇒ Object
Returns the value of attribute status
126 127 128 |
# File 'lib/tesote_sdk/transport.rb', line 126 def status @status end |