Sha256: 53760e255c46920e9548a728b3bb8d0ab65426bb7dfa7d6ee3e0f7d62e8b923a

Contents?: true

Size: 368 Bytes

Versions: 6

Compression:

Stored size: 368 Bytes

Contents

class Settingson::Config
  attr_accessor :cache
  attr_accessor :debug

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
settingson-1.7.3 lib/settingson/config.rb
settingson-1.7.2 lib/settingson/config.rb
settingson-1.7.1 lib/settingson/config.rb
settingson-1.7.0 lib/settingson/config.rb
settingson-1.6.1 lib/settingson/config.rb
settingson-1.6.0 lib/settingson/config.rb