Sha256: cb8ce0397e8be87ea4aaa36c6d22ad3124a2a1c37d9a235caf4ce6b9c3b7c0d0

Contents?: true

Size: 170 Bytes

Versions: 4

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true
class Twelvefactor::Environment::Cache::Null
  def self.apply app, _
    config = app.config
    config.cache_store = :null_store
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twelvefactor-cache-1.0.3 lib/twelvefactor/environment/cache/null.rb
twelvefactor-cache-1.0.2 lib/twelvefactor/environment/cache/null.rb
twelvefactor-cache-1.0.1 lib/twelvefactor/environment/cache/null.rb
twelvefactor-cache-1.0.0 lib/twelvefactor/environment/cache/null.rb