Class: ArtirixCacheService::VariablesStores::Redis
- Defined in:
- lib/artirix_cache_service/variables_stores/redis.rb
Instance Attribute Summary collapse
-
#redis_variable_prefix ⇒ Object
readonly
Returns the value of attribute redis_variable_prefix.
Instance Method Summary collapse
-
#initialize(redis_variable_prefix, redis_options = {}) ⇒ Redis
constructor
A new instance of Redis.
- #type ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(redis_variable_prefix, redis_options = {}) ⇒ Redis
Returns a new instance of Redis.
11 12 13 14 |
# File 'lib/artirix_cache_service/variables_stores/redis.rb', line 11 def initialize(redis_variable_prefix, = {}) @redis_variable_prefix = redis_variable_prefix @redis_options = end |
Instance Attribute Details
#redis_variable_prefix ⇒ Object (readonly)
Returns the value of attribute redis_variable_prefix.
5 6 7 |
# File 'lib/artirix_cache_service/variables_stores/redis.rb', line 5 def redis_variable_prefix @redis_variable_prefix end |
Instance Method Details
#type ⇒ Object
7 8 9 |
# File 'lib/artirix_cache_service/variables_stores/redis.rb', line 7 def type :redis end |