Sha256: eec977ed5389447f64c4e2153b6ebe85567049ff3d36435916d1040d6a4be930

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

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

    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     = {}
      @templates = {}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fflags-0.4.4 lib/fflags/configuration.rb
fflags-0.4.3 lib/fflags/configuration.rb