Module: Esse::RedisStorage::Config::InstanceMethods
- Defined in:
- lib/esse/redis_storage/config.rb
Instance Attribute Summary collapse
-
#redis ⇒ Object
Returns the value of attribute redis.
-
#redis_queue_ttl ⇒ Object
Returns the value of attribute redis_queue_ttl.
Instance Method Summary collapse
Instance Attribute Details
#redis ⇒ Object
Returns the value of attribute redis.
11 12 13 |
# File 'lib/esse/redis_storage/config.rb', line 11 def redis @redis end |
#redis_queue_ttl ⇒ Object
Returns the value of attribute redis_queue_ttl.
11 12 13 |
# File 'lib/esse/redis_storage/config.rb', line 11 def redis_queue_ttl @redis_queue_ttl end |
Instance Method Details
#redis_pool ⇒ Object
13 14 15 |
# File 'lib/esse/redis_storage/config.rb', line 13 def redis_pool @redis_pool ||= Esse::RedisStorage::Pool.new(redis) end |