Sha256: a7e3ac79b0d5552afb578994340180532dd39a54083e33fb3a398410b9f0e9e6

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 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

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

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
optimizely_server_side-0.0.8 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.7 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.6 lib/optimizely_server_side/configuration.rb
optimizely_server_side-0.0.5 lib/optimizely_server_side/configuration.rb