Class: Headstart::Configuration
- Inherits:
-
Object
- Object
- Headstart::Configuration
- Defined in:
- lib/headstart/configuration.rb
Instance Attribute Summary collapse
-
#facebook_api_key ⇒ Object
Returns the value of attribute facebook_api_key.
-
#facebook_app_id ⇒ Object
Returns the value of attribute facebook_app_id.
-
#facebook_secret_key ⇒ Object
Returns the value of attribute facebook_secret_key.
-
#impersonation_hash ⇒ Object
Returns the value of attribute impersonation_hash.
-
#mailer_sender ⇒ Object
Returns the value of attribute mailer_sender.
-
#session_failure_template ⇒ Object
Returns the value of attribute session_failure_template.
-
#url_after_create ⇒ Object
Returns the value of attribute url_after_create.
-
#use_delayed_job ⇒ Object
Returns the value of attribute use_delayed_job.
-
#use_facebook_connect ⇒ Object
Returns the value of attribute use_facebook_connect.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 18 |
# File 'lib/headstart/configuration.rb', line 13 def initialize @mailer_sender = '[email protected]' @impersonation_hash = 'e76e05e1ddf74560ffb64c02a1c1b26c' @user_facebook_connect = false @use_delayed_job = true end |
Instance Attribute Details
#facebook_api_key ⇒ Object
Returns the value of attribute facebook_api_key.
6 7 8 |
# File 'lib/headstart/configuration.rb', line 6 def facebook_api_key @facebook_api_key end |
#facebook_app_id ⇒ Object
Returns the value of attribute facebook_app_id.
8 9 10 |
# File 'lib/headstart/configuration.rb', line 8 def facebook_app_id @facebook_app_id end |
#facebook_secret_key ⇒ Object
Returns the value of attribute facebook_secret_key.
7 8 9 |
# File 'lib/headstart/configuration.rb', line 7 def facebook_secret_key @facebook_secret_key end |
#impersonation_hash ⇒ Object
Returns the value of attribute impersonation_hash.
4 5 6 |
# File 'lib/headstart/configuration.rb', line 4 def impersonation_hash @impersonation_hash end |
#mailer_sender ⇒ Object
Returns the value of attribute mailer_sender.
3 4 5 |
# File 'lib/headstart/configuration.rb', line 3 def mailer_sender @mailer_sender end |
#session_failure_template ⇒ Object
Returns the value of attribute session_failure_template.
11 12 13 |
# File 'lib/headstart/configuration.rb', line 11 def session_failure_template @session_failure_template end |
#url_after_create ⇒ Object
Returns the value of attribute url_after_create.
10 11 12 |
# File 'lib/headstart/configuration.rb', line 10 def url_after_create @url_after_create end |
#use_delayed_job ⇒ Object
Returns the value of attribute use_delayed_job.
9 10 11 |
# File 'lib/headstart/configuration.rb', line 9 def use_delayed_job @use_delayed_job end |
#use_facebook_connect ⇒ Object
Returns the value of attribute use_facebook_connect.
5 6 7 |
# File 'lib/headstart/configuration.rb', line 5 def use_facebook_connect @use_facebook_connect end |