Sha256: 9a121c8b63d1e7b19029b6c7e1abf20adc32f89f0e922a6ff8f6728fdbfb2ccd

Contents?: true

Size: 854 Bytes

Versions: 10

Compression:

Stored size: 854 Bytes

Contents

require 'mini_fb'
require 'facebook_helpers'
require 'request_parser'

require 'clearance/extensions/errors'
require 'clearance/extensions/rescue'
require 'clearance/configuration'
require 'clearance/routes'
require 'clearance/authentication'
require 'clearance/user'


#Load the configuration for miniFB
FB = YAML.load_file("#{RAILS_ROOT}/config/facebook.yml")
#Set the value in constants for easy use
FB_API_KEY = FB[:api_key]
FB_APP_ID = FB[:app_id]
FB_SECRET = FB[:secret]
MAILER_SENDER = FB[:mailer_sender]

#This routed will be name with clearance routes as /facebook
FB_CALLBACK_URL = "#{FB[:base_url]}/facebook"
#This routed will be name with clearance routes as /facebookclosed
FB_CLOSED_URL = "#{FB[:base_url]}/fbclosed"

LOGGED_PATH = FB[:after_login_path]
REGISTERED_PATH = FB[:after_register_path]

URL_AFTER_CREATE = FB[:url_after_create]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fbdoorman-0.8.0.95 lib/fbdoorman.rb
fbdoorman-0.8.0.94 lib/fbdoorman.rb
fbdoorman-0.8.0.93 lib/fbdoorman.rb
fbdoorman-0.8.0.92 lib/fbdoorman.rb
fbdoorman-0.8.0.91 lib/fbdoorman.rb
fbdoorman-0.8.0.9 lib/fbdoorman.rb
fbdoorman-0.8.0.8 lib/fbdoorman.rb
fbdoorman-0.8.0.7 lib/fbdoorman.rb
fbdoorman-0.8.0.6 lib/fbdoorman.rb
fbdoorman-0.8.0.5 lib/fbdoorman.rb