Class: Net::Facebook::Api::Configuration
- Inherits:
-
Object
- Object
- Net::Facebook::Api::Configuration
- Defined in:
- lib/net/facebook/api/configuration.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_id ⇒ Object
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_secret ⇒ Object
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 |