Class: Low::Events::ResponseEvent
- Inherits:
-
Low::Event
- Object
- Low::Event
- Low::Events::ResponseEvent
- Defined in:
- lib/events/response_event.rb
Constant Summary
Constants inherited from Low::Event
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from Low::Event
#action, #children, #created_at, #key
Instance Method Summary collapse
-
#initialize(response: nil) ⇒ ResponseEvent
constructor
TODO: Type: “response: Protocol::HTTP::Response”.
Methods inherited from Low::Event
inherited, #take, take, #trigger, trigger
Methods included from Support::ValueObject
Constructor Details
#initialize(response: nil) ⇒ ResponseEvent
TODO: Type: “response: Protocol::HTTP::Response”
12 13 14 |
# File 'lib/events/response_event.rb', line 12 def initialize(response: nil) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
9 10 11 |
# File 'lib/events/response_event.rb', line 9 def response @response end |