Class: Autonoma::HandlerRequest
- Inherits:
-
Struct
- Object
- Struct
- Autonoma::HandlerRequest
- Defined in:
- lib/autonoma/types.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(body:, headers: {}) ⇒ HandlerRequest
constructor
A new instance of HandlerRequest.
Constructor Details
#initialize(body:, headers: {}) ⇒ HandlerRequest
Returns a new instance of HandlerRequest.
16 17 18 |
# File 'lib/autonoma/types.rb', line 16 def initialize(body:, headers: {}) super end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
15 16 17 |
# File 'lib/autonoma/types.rb', line 15 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
15 16 17 |
# File 'lib/autonoma/types.rb', line 15 def headers @headers end |