Class: Parity::Configuration
- Inherits:
-
Object
- Object
- Parity::Configuration
- Defined in:
- lib/parity/configuration.rb
Instance Attribute Summary collapse
-
#database_config_path ⇒ Object
Returns the value of attribute database_config_path.
-
#heroku_app_basename ⇒ Object
Returns the value of attribute heroku_app_basename.
-
#redis_url_env_variable ⇒ Object
Returns the value of attribute redis_url_env_variable.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/parity/configuration.rb', line 8 def initialize @database_config_path = "config/database.yml" @redis_url_env_variable = "REDIS_URL" end |
Instance Attribute Details
#database_config_path ⇒ Object
Returns the value of attribute database_config_path.
3 4 5 |
# File 'lib/parity/configuration.rb', line 3 def database_config_path @database_config_path end |
#heroku_app_basename ⇒ Object
Returns the value of attribute heroku_app_basename.
3 4 5 |
# File 'lib/parity/configuration.rb', line 3 def heroku_app_basename @heroku_app_basename end |
#redis_url_env_variable ⇒ Object
Returns the value of attribute redis_url_env_variable.
3 4 5 |
# File 'lib/parity/configuration.rb', line 3 def redis_url_env_variable @redis_url_env_variable end |