Class: Headstart::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/headstart/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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_idObject

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_keyObject

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_hashObject

Returns the value of attribute impersonation_hash.



4
5
6
# File 'lib/headstart/configuration.rb', line 4

def impersonation_hash
  @impersonation_hash
end

#mailer_senderObject

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_templateObject

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_createObject

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_jobObject

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_connectObject

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