Sha256: a00eba533e4cefe8bf2e024991cb8fde6fe96bccc48a8b000edec81448b6366c

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 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, :visitor_id, :logger,
      :event_dispatcher

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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optimizely_server_side-0.0.9 lib/optimizely_server_side/configuration.rb