module Fb

Ruby client to authenticate a Facebook user. @see www.rubydoc.info/gems/Fb/

Ruby client to authenticate a Facebook user. @see www.rubydoc.info/gems/Fb/

Ruby client to authenticate a Facebook user. @see www.rubydoc.info/gems/Fb/

Public Class Methods

configuration() click to toggle source

Returns the global [Configuration](Fb/Configuration) object. While you can use this method to access the configuration, the more common convention is to use [Fb.configure].

@example

Fb.configuration.client_id = 1234
# File lib/fb/configuration.rb, line 19
def self.configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source

Yields the global configuration to a block. @yield [Configuration] global configuration

@example

Fb.configure do |config|
  config.client_id = 1234
end
# File lib/fb/configuration.rb, line 30
def self.configure
  yield(configuration) if block_given?
end