kaiwren/wrest

View on GitHub
examples/facebook_auth/config.ru

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

$LOAD_PATH.unshift(File.join(__dir__, 'lib'))
require 'facebook_auth'
# use Rack::Static, :urls => ["/images", "/javascript", "/yql"], :root => "public"
enable  :sessions
set :root, File.join(File.dirname(__FILE__), 'lib')
run FacebookAuth::Application