Class: Wakame::Packets::EventResponse
- Inherits:
-
ResponseBase
- Object
- ResponseBase
- Wakame::Packets::EventResponse
- Defined in:
- lib/wakame/packets.rb
Constant Summary
Constants included from AttributeHelper
AttributeHelper::CONVERT_CLASSES, AttributeHelper::PRIMITIVE_CLASSES
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Attributes inherited from ResponseBase
Instance Method Summary collapse
-
#initialize(agent, event) ⇒ EventResponse
constructor
A new instance of EventResponse.
Methods inherited from ResponseBase
Methods included from AttributeHelper
Constructor Details
#initialize(agent, event) ⇒ EventResponse
Returns a new instance of EventResponse.
97 98 99 100 |
# File 'lib/wakame/packets.rb', line 97 def initialize(agent, event) super(agent) @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
96 97 98 |
# File 'lib/wakame/packets.rb', line 96 def event @event end |