Sha256: ca9cfaad99c13be50fd7eed7e509aa2933dfb124baf62c54383f54e67f55076d

Contents?: true

Size: 510 Bytes

Versions: 5

Compression:

Stored size: 510 Bytes

Contents

require "infopark_component_cache/abstract_cache_storage"

module InfoparkComponentCache
  # @author Tomasz Przedmojski <tomasz.przedmojski@infopark.de>
  #
  # This class implements a persistent cache storage, that
  # it a cache which will probably persists between requests.
  # In the current version it relies on the preconfigured
  # Rails cache (Rails.application.config.cache_store).
  class CacheStorage < AbstractCacheStorage
    protected
    def backing_storage
      Rails.cache
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
infopark_component_cache-3.2.0 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-3.1.1 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-3.1.0 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-3.0.0 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-2.0.0 lib/infopark_component_cache/cache_storage.rb