Class: Harrods::Configuration
- Inherits:
-
Object
- Object
- Harrods::Configuration
- Defined in:
- lib/harrods/configuration.rb
Instance Attribute Summary collapse
-
#database_path ⇒ Object
Returns the value of attribute database_path.
-
#redis_connection_string ⇒ Object
Returns the value of attribute redis_connection_string.
-
#redis_namespace ⇒ Object
Returns the value of attribute redis_namespace.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/harrods/configuration.rb', line 5 def initialize @redis_connection_string = "redis://localhost:6379/0" @redis_namespace = "harrods" @database_path = "Users/john/Workspace/testapp/.harrods/development.db" end |
Instance Attribute Details
#database_path ⇒ Object
Returns the value of attribute database_path.
3 4 5 |
# File 'lib/harrods/configuration.rb', line 3 def database_path @database_path end |
#redis_connection_string ⇒ Object
Returns the value of attribute redis_connection_string.
3 4 5 |
# File 'lib/harrods/configuration.rb', line 3 def redis_connection_string @redis_connection_string end |
#redis_namespace ⇒ Object
Returns the value of attribute redis_namespace.
3 4 5 |
# File 'lib/harrods/configuration.rb', line 3 def redis_namespace @redis_namespace end |