Class: Net::Facebook::Api::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/net/facebook/api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
# File 'lib/net/facebook/api/configuration.rb', line 7

def initialize
  @client_id = ENV['FACEBOOK_CLIENT_ID']
  @client_secret = ENV['FACEBOOK_CLIENT_SECRET']
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



5
6
7
# File 'lib/net/facebook/api/configuration.rb', line 5

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



5
6
7
# File 'lib/net/facebook/api/configuration.rb', line 5

def client_secret
  @client_secret
end