Sha256: 191d97a320bbcda44edd067b80d686970e43fb109361852b394ae0c1b458c8da

Contents?: true

Size: 524 Bytes

Versions: 22

Compression:

Stored size: 524 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

require 'stealth/services/facebook/client'

module Stealth
  module Services
    module Facebook

      class Setup

        class << self
          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
        end

      end

    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
stealth-facebook-0.22.0 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.14.0 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.13.2 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.13.1 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.13.0 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.12.0 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.11.4 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.11.3 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.11.2 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.11.1 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.11.0 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.10.3 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.10.2 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.10.1 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.10.0 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.9.2 lib/stealth/services/facebook/setup.rb
stealth-facebook-0.9.1 lib/stealth/services/facebook/setup.rb
stealth-0.9.5 lib/stealth/services/facebook/setup.rb
stealth-0.9.4 lib/stealth/services/facebook/setup.rb
stealth-0.9.3 lib/stealth/services/facebook/setup.rb