Sha256: 5275b5788b3450364601e7b5efcc8f568b2deec80b6acd9770ba78896c31b24f

Contents?: true

Size: 344 Bytes

Versions: 11

Compression:

Stored size: 344 Bytes

Contents

module FFlags
  # Configuration Class
  class Configuration
    attr_accessor :key, :redis_url, :debug, :flags

    def initialize
      set_default_values
    end

    private

    def set_default_values
      @key       = 'code3.io'
      @redis_url = 'redis://127.0.0.1:6379'
      @debug     = false
      @flags     = {}
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fflags-0.4.2 lib/fflags/configuration.rb
fflags-0.4.1 lib/fflags/configuration.rb
fflags-0.4.0 lib/fflags/configuration.rb
fflags-0.3.5 lib/fflags/configuration.rb
fflags-0.3.4 lib/fflags/configuration.rb
fflags-0.3.3 lib/fflags/configuration.rb
fflags-0.3.2 lib/fflags/configuration.rb
fflags-0.3.1 lib/fflags/configuration.rb
fflags-0.3.0 lib/fflags/configuration.rb
fflags-0.1.1 lib/fflags/configuration.rb
fflags-0.1.0 lib/fflags/configuration.rb