Class: Pigeon::Config
- Inherits:
-
Object
- Object
- Pigeon::Config
- Defined in:
- lib/pigeon.rb
Instance Attribute Summary collapse
-
#application_name ⇒ Object
Returns the value of attribute application_name.
-
#nuntium_account ⇒ Object
Returns the value of attribute nuntium_account.
-
#nuntium_app ⇒ Object
Returns the value of attribute nuntium_app.
-
#nuntium_app_password ⇒ Object
Returns the value of attribute nuntium_app_password.
-
#nuntium_host ⇒ Object
Returns the value of attribute nuntium_host.
-
#twitter_consumer_key ⇒ Object
Returns the value of attribute twitter_consumer_key.
-
#twitter_consumer_secret ⇒ Object
Returns the value of attribute twitter_consumer_secret.
-
#verboice_account ⇒ Object
Returns the value of attribute verboice_account.
-
#verboice_default_call_flow ⇒ Object
Returns the value of attribute verboice_default_call_flow.
-
#verboice_host ⇒ Object
Returns the value of attribute verboice_host.
-
#verboice_password ⇒ Object
Returns the value of attribute verboice_password.
Instance Method Summary collapse
Instance Attribute Details
#application_name ⇒ Object
Returns the value of attribute application_name.
6 7 8 |
# File 'lib/pigeon.rb', line 6 def application_name @application_name end |
#nuntium_account ⇒ Object
Returns the value of attribute nuntium_account.
7 8 9 |
# File 'lib/pigeon.rb', line 7 def nuntium_account @nuntium_account end |
#nuntium_app ⇒ Object
Returns the value of attribute nuntium_app.
7 8 9 |
# File 'lib/pigeon.rb', line 7 def nuntium_app @nuntium_app end |
#nuntium_app_password ⇒ Object
Returns the value of attribute nuntium_app_password.
7 8 9 |
# File 'lib/pigeon.rb', line 7 def nuntium_app_password @nuntium_app_password end |
#nuntium_host ⇒ Object
Returns the value of attribute nuntium_host.
7 8 9 |
# File 'lib/pigeon.rb', line 7 def nuntium_host @nuntium_host end |
#twitter_consumer_key ⇒ Object
Returns the value of attribute twitter_consumer_key.
11 12 13 |
# File 'lib/pigeon.rb', line 11 def twitter_consumer_key @twitter_consumer_key end |
#twitter_consumer_secret ⇒ Object
Returns the value of attribute twitter_consumer_secret.
11 12 13 |
# File 'lib/pigeon.rb', line 11 def twitter_consumer_secret @twitter_consumer_secret end |
#verboice_account ⇒ Object
Returns the value of attribute verboice_account.
8 9 10 |
# File 'lib/pigeon.rb', line 8 def verboice_account @verboice_account end |
#verboice_default_call_flow ⇒ Object
Returns the value of attribute verboice_default_call_flow.
9 10 11 |
# File 'lib/pigeon.rb', line 9 def verboice_default_call_flow @verboice_default_call_flow end |
#verboice_host ⇒ Object
Returns the value of attribute verboice_host.
8 9 10 |
# File 'lib/pigeon.rb', line 8 def verboice_host @verboice_host end |
#verboice_password ⇒ Object
Returns the value of attribute verboice_password.
8 9 10 |
# File 'lib/pigeon.rb', line 8 def verboice_password @verboice_password end |
Instance Method Details
#nuntium_configured? ⇒ Boolean
13 14 15 |
# File 'lib/pigeon.rb', line 13 def nuntium_configured? nuntium_host.present? && nuntium_account.present? && nuntium_app.present? && nuntium_app_password.present? end |
#twitter_configured? ⇒ Boolean
21 22 23 |
# File 'lib/pigeon.rb', line 21 def twitter_configured? twitter_consumer_key.present? && twitter_consumer_secret.present? end |
#verboice_configured? ⇒ Boolean
17 18 19 |
# File 'lib/pigeon.rb', line 17 def verboice_configured? verboice_host.present? && verboice_account.present? && verboice_password.present? end |