Sha256: 2b8fcb384490dc0c100619e8add3c0f44df472ce0a8b7b4995bdbeb0642f7e1a

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

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

    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.3 lib/optimizely_server_side/configuration.rb