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