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



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

def ; end

#all_segmentsObject



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

def all_segments; end

#anonymize_ipObject



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

def anonymize_ip; end

#attributesObject



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

def attributes; end

#audiencesObject



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

def audiences; end

#bot_filteringObject



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

def bot_filtering; end

#datafileObject

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 datafile; end

#environment_keyObject



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

def environment_key; end

#eventsObject



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

def events; end

#experiment_running?(experiment) ⇒ Boolean

Returns:

  • (Boolean)


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

def experiment_running?(experiment); end

#experimentsObject



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

def experiments; end

#feature_experiment?(experiment_id) ⇒ Boolean

Returns:

  • (Boolean)


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

def feature_experiment?(experiment_id); end

#feature_flagsObject



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

def feature_flags; end

#get_attribute_id(attribute_key) ⇒ Object



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

def get_attribute_id(attribute_key); end

#get_audience_from_id(audience_id) ⇒ Object



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

def get_audience_from_id(audience_id); end

#get_event_from_key(event_key) ⇒ Object



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

def get_event_from_key(event_key); end

#get_experiment_from_id(experiment_id) ⇒ Object



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

def get_experiment_from_id(experiment_id); end

#get_experiment_from_key(experiment_key) ⇒ Object



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

def get_experiment_from_key(experiment_key); end

#get_experiment_key(experiment_id) ⇒ Object



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

def get_experiment_key(experiment_id); end

#get_feature_flag_from_key(feature_flag_key) ⇒ Object



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

def get_feature_flag_from_key(feature_flag_key); end

#get_feature_variable(feature_flag, variable_key) ⇒ Object



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

def get_feature_variable(feature_flag, variable_key); end

#get_rollout_from_id(rollout_id) ⇒ Object



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

def get_rollout_from_id(rollout_id); end

#get_variation_from_id(experiment_key, variation_id) ⇒ Object



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

def get_variation_from_id(experiment_key, variation_id); end

#get_variation_from_id_by_experiment_id(experiment_id, variation_id) ⇒ Object



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

def get_variation_from_id_by_experiment_id(experiment_id, variation_id); end

#get_variation_id_from_key(experiment_key, variation_key) ⇒ Object



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

def get_variation_id_from_key(experiment_key, variation_key); end

#get_variation_id_from_key_by_experiment_id(experiment_id, variation_key) ⇒ Object



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

def get_variation_id_from_key_by_experiment_id(experiment_id, variation_key); end

#get_whitelisted_variations(experiment_id) ⇒ Object



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

def get_whitelisted_variations(experiment_id); end

#groupsObject



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

def groups; end

#host_for_odpObject



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

def host_for_odp; end

#integrationsObject



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

def integrations; end

#project_idObject



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

def project_id; end

#public_key_for_odpObject



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

def public_key_for_odp; end

#revisionObject



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

def revision; end

#rolloutsObject



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

def rollouts; end

#sdk_keyObject



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

def sdk_key; end

#send_flag_decisionsObject



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

def send_flag_decisions; end

#typed_audiencesObject



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

def typed_audiences; end

#variation_id_exists?(experiment_id, variation_id) ⇒ Boolean

Returns:

  • (Boolean)


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

def variation_id_exists?(experiment_id, variation_id); end