Class: DevCycle::BucketedUserConfig
- Inherits:
-
Object
- Object
- DevCycle::BucketedUserConfig
- Defined in:
- lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#feature_variation_map ⇒ Object
Returns the value of attribute feature_variation_map.
-
#features ⇒ Object
Returns the value of attribute features.
-
#known_variable_keys ⇒ Object
Returns the value of attribute known_variable_keys.
-
#project ⇒ Object
Returns the value of attribute project.
-
#variable_variation_map ⇒ Object
Returns the value of attribute variable_variation_map.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize(project, environment, features, feature_var_map, variable_var_map, variables, known_variable_keys) ⇒ BucketedUserConfig
constructor
A new instance of BucketedUserConfig.
Constructor Details
#initialize(project, environment, features, feature_var_map, variable_var_map, variables, known_variable_keys) ⇒ BucketedUserConfig
Returns a new instance of BucketedUserConfig.
11 12 13 14 15 16 17 18 19 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 11 def initialize(project, environment, features, feature_var_map, variable_var_map, variables, known_variable_keys) @project = project @environment = environment @features = features @feature_variation_map = feature_var_map @variable_variation_map = variable_var_map @variables = variables @known_variable_keys = known_variable_keys end |
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
4 5 6 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 4 def environment @environment end |
#feature_variation_map ⇒ Object
Returns the value of attribute feature_variation_map.
6 7 8 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 6 def feature_variation_map @feature_variation_map end |
#features ⇒ Object
Returns the value of attribute features.
5 6 7 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 5 def features @features end |
#known_variable_keys ⇒ Object
Returns the value of attribute known_variable_keys.
9 10 11 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 9 def known_variable_keys @known_variable_keys end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 3 def project @project end |
#variable_variation_map ⇒ Object
Returns the value of attribute variable_variation_map.
7 8 9 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 7 def variable_variation_map @variable_variation_map end |
#variables ⇒ Object
Returns the value of attribute variables.
8 9 10 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb', line 8 def variables @variables end |