Sha256: 2f153b892f561517c4ac7b067c7cb2cde098dc32b38ae53f8a09b7ee9a0942e2

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

require 'active_support/all'
require 'second_level_cache/config'
require 'second_level_cache/record_marshal'
require 'second_level_cache/record_relation'
require 'second_level_cache/active_record'

module SecondLevelCache
  def self.configure
    block_given? ? yield(Config) : Config
  end

  class << self
    delegate :logger, :cache_store, :cache_key_prefix, to: Config
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
second_level_cache-2.3.3 lib/second_level_cache.rb
second_level_cache-2.3.2 lib/second_level_cache.rb
second_level_cache-2.3.1 lib/second_level_cache.rb