Sha256: 2b529b8560d507e2b19f30c57513496b958afb9109f5ac2941e02d43da11a272

Contents?: true

Size: 415 Bytes

Versions: 4

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
second_level_cache-2.4.3 lib/second_level_cache.rb
second_level_cache-2.4.2 lib/second_level_cache.rb
second_level_cache-2.4.1 lib/second_level_cache.rb
second_level_cache-2.4.0 lib/second_level_cache.rb