Class: Trevosdk::TransportRequest

Inherits:
Struct
  • Object
show all
Defined in:
lib/trevosdk/transport.rb

Overview

No custom initialize: Ruby 3.2 structs accept keywords only through the default one.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



24
25
26
# File 'lib/trevosdk/transport.rb', line 24

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



24
25
26
# File 'lib/trevosdk/transport.rb', line 24

def headers
  @headers
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



24
25
26
# File 'lib/trevosdk/transport.rb', line 24

def method
  @method
end

#timeout_sObject

Returns the value of attribute timeout_s

Returns:

  • (Object)

    the current value of timeout_s



24
25
26
# File 'lib/trevosdk/transport.rb', line 24

def timeout_s
  @timeout_s
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



24
25
26
# File 'lib/trevosdk/transport.rb', line 24

def url
  @url
end