Class: Funky::Configuration
- Inherits:
-
Object
- Object
- Funky::Configuration
- Defined in:
- lib/funky/configuration.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/funky/configuration.rb', line 5 def initialize @app_id = ENV['FB_APP_ID'] @app_secret = ENV['FB_APP_SECRET'] end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
3 4 5 |
# File 'lib/funky/configuration.rb', line 3 def app_id @app_id end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
3 4 5 |
# File 'lib/funky/configuration.rb', line 3 def app_secret @app_secret end |