Module: Facebook

Defined in:
lib/facebook/app.rb,
lib/facebook/graph_api.rb,
lib/facebook/auth/devise.rb,
lib/facebook/access/helper.rb,
lib/facebook/access/omniauth.rb,
lib/facebook-rails-starterkit.rb

Defined Under Namespace

Modules: Access, Auth, Starterkit Classes: App, GraphApi

Class Method Summary collapse

Class Method Details

.apiObject



2
3
4
# File 'lib/facebook/graph_api.rb', line 2

def self.api
	::Koala::Facebook::API
end

.appObject



4
5
6
# File 'lib/facebook/app.rb', line 4

def self.app
	Facebook::App.instance
end

.app=(an_app) ⇒ Object



8
9
10
# File 'lib/facebook/app.rb', line 8

def self.app= an_app
	app.fb_app = an_app
end

.updates_apiObject



6
7
8
# File 'lib/facebook/graph_api.rb', line 6

def self.updates_api
	::Koala::Facebook::RealtimeUpdates
end