Class: TesoteSdk::Transport::RawResponse

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



126
127
128
# File 'lib/tesote_sdk/transport.rb', line 126

def body
  @body
end

#content_dispositionObject

Returns the value of attribute content_disposition

Returns:

  • (Object)

    the current value of content_disposition



126
127
128
# File 'lib/tesote_sdk/transport.rb', line 126

def content_disposition
  @content_disposition
end

#content_typeObject

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



126
127
128
# File 'lib/tesote_sdk/transport.rb', line 126

def content_type
  @content_type
end

#request_idObject

Returns the value of attribute request_id

Returns:

  • (Object)

    the current value of request_id



126
127
128
# File 'lib/tesote_sdk/transport.rb', line 126

def request_id
  @request_id
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



126
127
128
# File 'lib/tesote_sdk/transport.rb', line 126

def status
  @status
end