Class: Flipper::Adapters::RedisCache
- Inherits:
-
CacheBase
- Object
- CacheBase
- Flipper::Adapters::RedisCache
- Defined in:
- lib/flipper/adapters/redis_cache.rb
Overview
Public: Adapter that wraps another adapter with the ability to cache adapter calls in Redis.
Instance Method Summary collapse
-
#initialize(adapter, cache, ttl = 3600, prefix: nil) ⇒ RedisCache
constructor
A new instance of RedisCache.
Constructor Details
#initialize(adapter, cache, ttl = 3600, prefix: nil) ⇒ RedisCache
Returns a new instance of RedisCache.
10 11 12 |
# File 'lib/flipper/adapters/redis_cache.rb', line 10 def initialize(adapter, cache, ttl = 3600, prefix: nil) super end |