Class: Smith::PersistenceAdapters::RailsCache

Inherits:
CacheStore
  • Object
show all
Defined in:
lib/smith/persistence_adapters/rails_cache.rb

Constant Summary

Constants inherited from CacheStore

CacheStore::TRANSIENT_ERRORS

Instance Method Summary collapse

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