Sha256: 1da70344efb14a9e868a53aa8c2087a8b895a8054ee8e7dec0033f1ed18569ed

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

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

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