Class: Pigeon::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#application_nameObject

Returns the value of attribute application_name.



6
7
8
# File 'lib/pigeon.rb', line 6

def application_name
  @application_name
end

#nuntium_accountObject

Returns the value of attribute nuntium_account.



7
8
9
# File 'lib/pigeon.rb', line 7

def 
  @nuntium_account
end

#nuntium_appObject

Returns the value of attribute nuntium_app.



7
8
9
# File 'lib/pigeon.rb', line 7

def nuntium_app
  @nuntium_app
end

#nuntium_app_passwordObject

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_hostObject

Returns the value of attribute nuntium_host.



7
8
9
# File 'lib/pigeon.rb', line 7

def nuntium_host
  @nuntium_host
end

#twitter_consumer_keyObject

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_secretObject

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_accountObject

Returns the value of attribute verboice_account.



8
9
10
# File 'lib/pigeon.rb', line 8

def 
  @verboice_account
end

#verboice_default_call_flowObject

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_hostObject

Returns the value of attribute verboice_host.



8
9
10
# File 'lib/pigeon.rb', line 8

def verboice_host
  @verboice_host
end

#verboice_passwordObject

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

Returns:

  • (Boolean)


13
14
15
# File 'lib/pigeon.rb', line 13

def nuntium_configured?
  nuntium_host.present? && .present? && nuntium_app.present? && nuntium_app_password.present?
end

#twitter_configured?Boolean

Returns:

  • (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

Returns:

  • (Boolean)


17
18
19
# File 'lib/pigeon.rb', line 17

def verboice_configured?
  verboice_host.present? && .present? && verboice_password.present?
end