Class: RubyReactor::Storage::Configuration
- Inherits:
-
Object
- Object
- RubyReactor::Storage::Configuration
- Defined in:
- lib/ruby_reactor/storage/configuration.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#redis_options ⇒ Object
Returns the value of attribute redis_options.
-
#redis_url ⇒ Object
Returns the value of attribute redis_url.
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 12 |
# File 'lib/ruby_reactor/storage/configuration.rb', line 8 def initialize @adapter = :redis @redis_url = "redis://localhost:6379/0" = {} end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
6 7 8 |
# File 'lib/ruby_reactor/storage/configuration.rb', line 6 def adapter @adapter end |
#redis_options ⇒ Object
Returns the value of attribute redis_options.
6 7 8 |
# File 'lib/ruby_reactor/storage/configuration.rb', line 6 def end |
#redis_url ⇒ Object
Returns the value of attribute redis_url.
6 7 8 |
# File 'lib/ruby_reactor/storage/configuration.rb', line 6 def redis_url @redis_url end |