Class: Kameleoon::Targeting::ExclusiveFeatureFlagInfo Private

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleoon/targeting/conditions/exclusive_feature_flag_condition.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(current_experiment_id, variations_storage) ⇒ ExclusiveFeatureFlagInfo

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ExclusiveFeatureFlagInfo.



21
22
23
24
# File 'lib/kameleoon/targeting/conditions/exclusive_feature_flag_condition.rb', line 21

def initialize(current_experiment_id, variations_storage)
  @current_experiment_id = current_experiment_id
  @variations_storage = variations_storage
end

Instance Attribute Details

#current_experiment_idObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
# File 'lib/kameleoon/targeting/conditions/exclusive_feature_flag_condition.rb', line 19

def current_experiment_id
  @current_experiment_id
end

#variations_storageObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
# File 'lib/kameleoon/targeting/conditions/exclusive_feature_flag_condition.rb', line 19

def variations_storage
  @variations_storage
end