Class: Stealth::Services::Facebook::MessagingReferralEvent
- Inherits:
-
Object
- Object
- Stealth::Services::Facebook::MessagingReferralEvent
- Defined in:
- lib/stealth/services/facebook/events/messaging_referral_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:) ⇒ MessagingReferralEvent
constructor
A new instance of MessagingReferralEvent.
- #process ⇒ Object
Constructor Details
#initialize(service_message:, params:) ⇒ MessagingReferralEvent
Returns a new instance of MessagingReferralEvent.
12 13 14 15 |
# File 'lib/stealth/services/facebook/events/messaging_referral_event.rb', line 12 def initialize(service_message:, params:) @service_message = @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
10 11 12 |
# File 'lib/stealth/services/facebook/events/messaging_referral_event.rb', line 10 def params @params end |
#service_message ⇒ Object (readonly)
Returns the value of attribute service_message.
10 11 12 |
# File 'lib/stealth/services/facebook/events/messaging_referral_event.rb', line 10 def @service_message end |
Instance Method Details
#process ⇒ Object
17 18 19 |
# File 'lib/stealth/services/facebook/events/messaging_referral_event.rb', line 17 def process fetch_referral end |