Class: Trevosdk::TransportRequest
- Inherits:
-
Struct
- Object
- Struct
- Trevosdk::TransportRequest
- 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
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#method ⇒ Object
Returns the value of attribute method.
-
#timeout_s ⇒ Object
Returns the value of attribute timeout_s.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
24 25 26 |
# File 'lib/trevosdk/transport.rb', line 24 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
24 25 26 |
# File 'lib/trevosdk/transport.rb', line 24 def headers @headers end |
#method ⇒ Object
Returns the value of attribute method
24 25 26 |
# File 'lib/trevosdk/transport.rb', line 24 def method @method end |
#timeout_s ⇒ Object
Returns the value of attribute timeout_s
24 25 26 |
# File 'lib/trevosdk/transport.rb', line 24 def timeout_s @timeout_s end |
#url ⇒ Object
Returns the value of attribute url
24 25 26 |
# File 'lib/trevosdk/transport.rb', line 24 def url @url end |