Sha256: 67394de3a3381f086eda08659e70de68ac89bda6ea4149e086063afaf779856f

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

class Settingson::Config
  attr_accessor :cache
  attr_accessor :debug
  attr_accessor :trace

  def initialize
    @debug = false
    @trace = 0
    @cache = OpenStruct.new(expires_in: 60.seconds,
                            race_condition_ttl: 10.seconds,
                            enabled: true,
                            namespace: "settingson/#{Rails.env}"
                            )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
settingson-1.7.8 lib/settingson/config.rb
settingson-1.7.7 lib/settingson/config.rb
settingson-1.7.6 lib/settingson/config.rb
settingson-1.7.5 lib/settingson/config.rb