Class: Smith::PersistenceAdapters::RailsCache
- Inherits:
-
CacheStore
- Object
- CacheStore
- Smith::PersistenceAdapters::RailsCache
- Defined in:
- lib/smith/persistence_adapters/rails_cache.rb
Constant Summary
Constants inherited from CacheStore
Instance Method Summary collapse
-
#initialize(store: nil, namespace: "smith") ⇒ RailsCache
constructor
A new instance of RailsCache.
Methods inherited from CacheStore
#backend_name, #delete, #durability_warning, #fetch, #store
Constructor Details
#initialize(store: nil, namespace: "smith") ⇒ RailsCache
Returns a new instance of RailsCache.
6 7 8 |
# File 'lib/smith/persistence_adapters/rails_cache.rb', line 6 def initialize(store: nil, namespace: "smith") super(store: store || method(:default_store), namespace:) end |