Sha256: a43ba3295b4771c6539ccc22b6fcbc82a2a31fffc99773c36c4aea2232c75aa0

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

# require 'dotenv/load' # Use this if you want plain 'rackup' over 'heroku local'
require 'facebook/messenger'
require 'sinatra'

require_relative './bot/bot.rb'

map('/webhook') do
  run Facebook::Messenger::Server
end

# run regular Sinatra too
run Sinatra::Application

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubotnik-0.2.3 templates/config.ru
rubotnik-0.2.2 templates/config.ru
rubotnik-0.2.1 templates/config.ru
rubotnik-0.2.0 templates/config.ru
rubotnik-0.1.1 templates/config.ru