Class: SimpleAcp::Models::MessageCreatedEvent
- Defined in:
- lib/simple_acp/models/events.rb
Overview
Message created event
Instance Attribute Summary
Attributes inherited from Event
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ MessageCreatedEvent
constructor
A new instance of MessageCreatedEvent.
Methods inherited from Event
Methods inherited from Base
#==, attribute, attributes, #hash, own_attributes, #to_h, #to_json
Constructor Details
#initialize(**kwargs) ⇒ MessageCreatedEvent
Returns a new instance of MessageCreatedEvent.
28 29 30 31 |
# File 'lib/simple_acp/models/events.rb', line 28 def initialize(**kwargs) kwargs[:type] = Types::EventType::MESSAGE_CREATED super end |