Class: Kamigo::Events::BasicEvent
- Inherits:
-
Object
- Object
- Kamigo::Events::BasicEvent
- Defined in:
- lib/kamigo/events/basic_event.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#message_type ⇒ Object
Returns the value of attribute message_type.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#platform_type ⇒ Object
Returns the value of attribute platform_type.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#source_group_id ⇒ Object
Returns the value of attribute source_group_id.
-
#source_type ⇒ Object
Returns the value of attribute source_type.
-
#source_user_id ⇒ Object
Returns the value of attribute source_user_id.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/kamigo/events/basic_event.rb', line 5 def @message end |
#message_type ⇒ Object
Returns the value of attribute message_type.
6 7 8 |
# File 'lib/kamigo/events/basic_event.rb', line 6 def @message_type end |
#payload ⇒ Object
Returns the value of attribute payload.
11 12 13 |
# File 'lib/kamigo/events/basic_event.rb', line 11 def payload @payload end |
#platform_type ⇒ Object
Returns the value of attribute platform_type.
4 5 6 |
# File 'lib/kamigo/events/basic_event.rb', line 4 def platform_type @platform_type end |
#profile ⇒ Object
Returns the value of attribute profile.
10 11 12 |
# File 'lib/kamigo/events/basic_event.rb', line 10 def profile @profile end |
#source_group_id ⇒ Object
Returns the value of attribute source_group_id.
8 9 10 |
# File 'lib/kamigo/events/basic_event.rb', line 8 def source_group_id @source_group_id end |
#source_type ⇒ Object
Returns the value of attribute source_type.
7 8 9 |
# File 'lib/kamigo/events/basic_event.rb', line 7 def source_type @source_type end |
#source_user_id ⇒ Object
Returns the value of attribute source_user_id.
9 10 11 |
# File 'lib/kamigo/events/basic_event.rb', line 9 def source_user_id @source_user_id end |
Instance Method Details
#platform_params ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/kamigo/events/basic_event.rb', line 13 def platform_params { platform_type: platform_type, message: , message_type: , source_type: source_type, source_group_id: source_group_id, source_user_id: source_user_id, profile: profile, payload: payload } end |