Class: Flipper::Adapters::RedisCache

Inherits:
CacheBase
  • Object
show all
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

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