Class: Stealth::Services::Facebook::MessageReadsEvent
- Inherits:
-
Object
- Object
- Stealth::Services::Facebook::MessageReadsEvent
- Defined in:
- lib/stealth/services/facebook/events/message_reads_event.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#service_message ⇒ Object
readonly
Returns the value of attribute service_message.
Instance Method Summary collapse
-
#initialize(service_message:, params:) ⇒ MessageReadsEvent
constructor
A new instance of MessageReadsEvent.
- #process ⇒ Object
Constructor Details
#initialize(service_message:, params:) ⇒ MessageReadsEvent
Returns a new instance of MessageReadsEvent.
14 15 16 17 |
# File 'lib/stealth/services/facebook/events/message_reads_event.rb', line 14 def initialize(service_message:, params:) @service_message = @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
12 13 14 |
# File 'lib/stealth/services/facebook/events/message_reads_event.rb', line 12 def params @params end |
#service_message ⇒ Object (readonly)
Returns the value of attribute service_message.
12 13 14 |
# File 'lib/stealth/services/facebook/events/message_reads_event.rb', line 12 def @service_message end |
Instance Method Details
#process ⇒ Object
19 20 21 |
# File 'lib/stealth/services/facebook/events/message_reads_event.rb', line 19 def process fetch_read end |