class OptimizelyServerSide::Configuration

Attributes

cache_expiry[RW]

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.

config_endpoint[RW]

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.

event_dispatcher[RW]

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.

logger[RW]

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.

user_attributes[RW]

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.

Public Class Methods

new() click to toggle source
# File lib/optimizely_server_side/configuration.rb, line 12
def initialize
  @config_endpoint  = 'http://foo.com'
  @cache_expiry     = 15
  @user_attributes  = {}
end