Module: FacebookGraph

Defined in:
lib/facebook-graph.rb

Defined Under Namespace

Modules: HTTPHelper, Helper Classes: Authentication, Client, GraphNode

Constant Summary collapse

@@configuration =
{
    :base_uri => 'https://graph.facebook.com',
    :search_uri => '/search',
    :authorize_uri => '/oauth/authorize',
    :access_token_uri => '/oauth/access_token'  
}

Class Method Summary collapse

Class Method Details

.configurationObject



24
25
26
# File 'lib/facebook-graph.rb', line 24

def configuration
  @@configuration 
end

.configure(configuration = {}) ⇒ Object

Enables custom url and parameter configuration



20
21
22
# File 'lib/facebook-graph.rb', line 20

def configure(configuration={})
  @@configuration.merge!(configuration)
end