Class: Kameleoon::Targeting::TargetFeatureFlagCondition::TargetingData Private
- Inherits:
-
Object
- Object
- Kameleoon::Targeting::TargetFeatureFlagCondition::TargetingData
- Defined in:
- lib/kameleoon/targeting/conditions/target_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
- #data_file ⇒ Object readonly private
- #variations ⇒ Object readonly private
- #visitor_visits ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(data_file, variations, visitor_visits = nil) ⇒ TargetingData
constructor
private
A new instance of TargetingData.
Constructor Details
#initialize(data_file, variations, visitor_visits = nil) ⇒ TargetingData
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 TargetingData.
56 57 58 59 60 |
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 56 def initialize(data_file, variations, visitor_visits = nil) @data_file = data_file @variations = variations @visitor_visits = visitor_visits end |
Instance Attribute Details
#data_file ⇒ Object (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.
54 55 56 |
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 54 def data_file @data_file end |
#variations ⇒ Object (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.
54 55 56 |
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 54 def variations @variations end |
#visitor_visits ⇒ Object (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.
54 55 56 |
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 54 def visitor_visits @visitor_visits end |