Class: Stealth::Services::Facebook::Setup
- Inherits:
-
Object
- Object
- Stealth::Services::Facebook::Setup
- Defined in:
- lib/stealth/services/facebook/setup.rb
Class Method Summary collapse
Class Method Details
.trigger ⇒ Object
13 14 15 16 17 18 |
# File 'lib/stealth/services/facebook/setup.rb', line 13 def trigger reply_handler = Stealth::Services::Facebook::ReplyHandler.new reply = reply_handler.messenger_profile client = Stealth::Services::Facebook::Client.new(reply: reply, endpoint: 'messenger_profile') client.transmit end |