Class: Wakame::Packets::EventResponse

Inherits:
ResponseBase show all
Defined in:
lib/wakame/packets.rb

Constant Summary

Constants included from AttributeHelper

AttributeHelper::CONVERT_CLASSES, AttributeHelper::PRIMITIVE_CLASSES

Instance Attribute Summary collapse

Attributes inherited from ResponseBase

#agent_id, #responded_at

Instance Method Summary collapse

Methods inherited from ResponseBase

#marshal

Methods included from AttributeHelper

#dump_attrs

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

#eventObject (readonly)

Returns the value of attribute event.



96
97
98
# File 'lib/wakame/packets.rb', line 96

def event
  @event
end