Sha256: 5f72d2e74f454b097d4d084ff6ceab4c432910146d387901cca77580e0cc5af5

Contents?: true

Size: 799 Bytes

Versions: 6

Compression:

Stored size: 799 Bytes

Contents

require 'mini_fb'
require 'facebook_helpers'
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]

#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"

FB_LOGGED_PATH = FB[:after_login_path]
FB_REGISTERED_PATH = FB[:after_register_path]

URL_AFTER_CREATE = FB[:url_after_create]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fbdoorman-0.0.6 lib/fbdoorman.rb
fbdoorman-0.0.5 lib/fbdoorman.rb
fbdoorman-0.0.4 lib/fbdoorman.rb
fbdoorman-0.0.3 lib/fbdoorman.rb
fbdoorman-0.0.2 lib/fbdoorman.rb
fbdoorman-0.0.1 lib/fbdoorman.rb