Class: Optimizely::ProjectConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/optimizely/project_config.rb

Direct Known Subclasses

DatafileProjectConfig

Instance Method Summary collapse

Instance Method Details

#account_idObject

ProjectConfig is an interface capturing the experiment, variation and feature definitions. The default implementation of ProjectConfig can be found in DatafileProjectConfig.



23
# File 'lib/optimizely/project_config.rb', line 23

def ; end

#anonymize_ipObject



41
# File 'lib/optimizely/project_config.rb', line 41

def anonymize_ip; end

#attributesObject



25
# File 'lib/optimizely/project_config.rb', line 25

def attributes; end

#audiencesObject



27
# File 'lib/optimizely/project_config.rb', line 27

def audiences; end

#bot_filteringObject



43
# File 'lib/optimizely/project_config.rb', line 43

def bot_filtering; end

#eventsObject



31
# File 'lib/optimizely/project_config.rb', line 31

def events; end

#experiment_running?(experiment) ⇒ Boolean

Returns:

  • (Boolean)


49
# File 'lib/optimizely/project_config.rb', line 49

def experiment_running?(experiment); end

#experimentsObject



33
# File 'lib/optimizely/project_config.rb', line 33

def experiments; end

#feature_experiment?(experiment_id) ⇒ Boolean

Returns:

  • (Boolean)


75
# File 'lib/optimizely/project_config.rb', line 75

def feature_experiment?(experiment_id); end

#feature_flagsObject



35
# File 'lib/optimizely/project_config.rb', line 35

def feature_flags; end

#get_attribute_id(attribute_key) ⇒ Object



65
# File 'lib/optimizely/project_config.rb', line 65

def get_attribute_id(attribute_key); end

#get_audience_from_id(audience_id) ⇒ Object



57
# File 'lib/optimizely/project_config.rb', line 57

def get_audience_from_id(audience_id); end

#get_event_from_key(event_key) ⇒ Object



55
# File 'lib/optimizely/project_config.rb', line 55

def get_event_from_key(event_key); end

#get_experiment_from_key(experiment_key) ⇒ Object



51
# File 'lib/optimizely/project_config.rb', line 51

def get_experiment_from_key(experiment_key); end

#get_experiment_key(experiment_id) ⇒ Object



53
# File 'lib/optimizely/project_config.rb', line 53

def get_experiment_key(experiment_id); end

#get_feature_flag_from_key(feature_flag_key) ⇒ Object



69
# File 'lib/optimizely/project_config.rb', line 69

def get_feature_flag_from_key(feature_flag_key); end

#get_feature_variable(feature_flag, variable_key) ⇒ Object



71
# File 'lib/optimizely/project_config.rb', line 71

def get_feature_variable(feature_flag, variable_key); end

#get_rollout_from_id(rollout_id) ⇒ Object



73
# File 'lib/optimizely/project_config.rb', line 73

def get_rollout_from_id(rollout_id); end

#get_variation_from_id(experiment_key, variation_id) ⇒ Object



59
# File 'lib/optimizely/project_config.rb', line 59

def get_variation_from_id(experiment_key, variation_id); end

#get_variation_id_from_key(experiment_key, variation_key) ⇒ Object



61
# File 'lib/optimizely/project_config.rb', line 61

def get_variation_id_from_key(experiment_key, variation_key); end

#get_whitelisted_variations(experiment_key) ⇒ Object



63
# File 'lib/optimizely/project_config.rb', line 63

def get_whitelisted_variations(experiment_key); end

#groupsObject



37
# File 'lib/optimizely/project_config.rb', line 37

def groups; end

#project_idObject



39
# File 'lib/optimizely/project_config.rb', line 39

def project_id; end

#revisionObject



45
# File 'lib/optimizely/project_config.rb', line 45

def revision; end

#rolloutsObject



47
# File 'lib/optimizely/project_config.rb', line 47

def rollouts; end

#typed_audiencesObject



29
# File 'lib/optimizely/project_config.rb', line 29

def typed_audiences; end

#variation_id_exists?(experiment_id, variation_id) ⇒ Boolean

Returns:

  • (Boolean)


67
# File 'lib/optimizely/project_config.rb', line 67

def variation_id_exists?(experiment_id, variation_id); end