Class: Kameleoon::Targeting::TargetExperimentCondition::TargetingData Private
- Inherits:
-
Object
- Object
- Kameleoon::Targeting::TargetExperimentCondition::TargetingData
- Defined in:
- lib/kameleoon/targeting/conditions/target_experiment_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
- #variations ⇒ Object readonly private
- #visitor_visits ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(variations, visitor_visits = nil) ⇒ TargetingData
constructor
private
A new instance of TargetingData.
Constructor Details
#initialize(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.
41 42 43 44 |
# File 'lib/kameleoon/targeting/conditions/target_experiment_condition.rb', line 41 def initialize(variations, visitor_visits = nil) @variations = variations @visitor_visits = visitor_visits end |
Instance Attribute Details
#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.
39 40 41 |
# File 'lib/kameleoon/targeting/conditions/target_experiment_condition.rb', line 39 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.
39 40 41 |
# File 'lib/kameleoon/targeting/conditions/target_experiment_condition.rb', line 39 def visitor_visits @visitor_visits end |