Sha256: 5ed24c88923a689b7ef2409603d242775b6f07d36836876c304e2d92721c3582

Contents?: true

Size: 530 Bytes

Versions: 16

Compression:

Stored size: 530 Bytes

Contents

# frozen_string_literal: true
module OptimizelyServerSide

  class Configuration

    # Configuration enables to open up the configuration of gem for the application.
    # config_endpoint: Optimizely config endpoint
    # cache_expiry: (In minutes) How long we want to cache the config.
    attr_accessor :config_endpoint, :cache_expiry, :user_attributes, :logger,
      :event_dispatcher

    def initialize
      @config_endpoint  = 'http://foo.com'
      @cache_expiry     = 15
      @user_attributes  = {}
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
optimizely_server_side-2.0.1 lib/optimizely_server_side/configuration.rb
optimizely_server_side-2.0.0 lib/optimizely_server_side/configuration.rb
optimizely_server_side-1.2.2 lib/optimizely_server_side/configuration.rb
optimizely_server_side-1.2.1 lib/optimizely_server_side/configuration.rb
optimizely_server_side-1.2.0 lib/optimizely_server_side/configuration.rb
optimizely_server_side-1.0.1 lib/optimizely_server_side/configuration.rb
optimizely_server_side-1.0.0 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.18 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.17 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.16 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.15 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.14 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.13 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.12 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.11 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.10 lib/optimizely_server_side/configuration.rb