Class: Redstruct::Configuration
- Inherits:
-
Object
- Object
- Redstruct::Configuration
- Defined in:
- lib/redstruct/configuration.rb
Instance Attribute Summary collapse
-
#connection_pool ⇒ ConnectionPool
The Redis-rb connection pool to use.
-
#namespace ⇒ ::String
Default namespace for factories.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
9 10 11 12 |
# File 'lib/redstruct/configuration.rb', line 9 def initialize @connection_pool = nil @namespace = nil end |
Instance Attribute Details
#connection_pool ⇒ ConnectionPool
4 5 6 |
# File 'lib/redstruct/configuration.rb', line 4 def connection_pool @connection_pool end |
#namespace ⇒ ::String
7 8 9 |
# File 'lib/redstruct/configuration.rb', line 7 def namespace @namespace end |