Class: SimpleAcp::Models::GenericEvent
- Defined in:
- lib/simple_acp/models/events.rb
Overview
Generic event
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ GenericEvent
constructor
A new instance of GenericEvent.
Methods inherited from Event
Methods inherited from Base
#==, attribute, attributes, from_hash, #hash, own_attributes, #to_h, #to_json
Constructor Details
#initialize(**kwargs) ⇒ GenericEvent
Returns a new instance of GenericEvent.
190 191 192 193 |
# File 'lib/simple_acp/models/events.rb', line 190 def initialize(**kwargs) kwargs[:type] = Types::EventType::GENERIC super end |