Sha256: af0c3dabbdc535303258b2f6c8c6d53780d78b3e0ba35ef19093e35e476963dd
Contents?: true
Size: 494 Bytes
Versions: 3
Compression:
Stored size: 494 Bytes
Contents
module Gorynich class Configuration # # Cache dummy # class NullStore def fetch(*args, **kwargs, &block) block.call end end attr_accessor :cache, :fetcher, :namespace, :cache_expiration, :rack_env_handler def initialize @cache = NullStore.new @fetcher = nil @namespace = nil @cache_expiration = 30 @rack_env_handler = nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gorynich-1.3.4.273062 | lib/gorynich/configuration.rb |
gorynich-1.3.3.231946 | lib/gorynich/configuration.rb |
gorynich-1.3.2.231715 | lib/gorynich/configuration.rb |