Sha256: 06108d524dfd1ecf5fe72fbc56b0dd6151b381592e30e02caed1e028bfdcb666

Contents?: true

Size: 511 Bytes

Versions: 6

Compression:

Stored size: 511 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

6 entries across 6 versions & 1 rubygems

Version Path
infopark_component_cache-5.0.2 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-5.0.1 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-4.2.0 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-4.1.0 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-4.0.1 lib/infopark_component_cache/cache_storage.rb
infopark_component_cache-4.0.0 lib/infopark_component_cache/cache_storage.rb