Class: Kameleoon::Targeting::ExclusiveExperimentCondition::TargetingData Private
- Inherits:
-
Object
- Object
- Kameleoon::Targeting::ExclusiveExperimentCondition::TargetingData
- Defined in:
- lib/kameleoon/targeting/conditions/exclusive_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
- #current_experiment_id ⇒ Object readonly private
- #personalizations ⇒ Object readonly private
- #variations ⇒ Object readonly private
- #visitor_visits ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(current_experiment_id, variations, personalizations, visitor_visits = nil) ⇒ TargetingData
constructor
private
A new instance of TargetingData.
Constructor Details
#initialize(current_experiment_id, variations, personalizations, 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.
70 71 72 73 74 75 |
# File 'lib/kameleoon/targeting/conditions/exclusive_experiment_condition.rb', line 70 def initialize(current_experiment_id, variations, personalizations, visitor_visits = nil) @current_experiment_id = current_experiment_id @variations = variations @personalizations = personalizations @visitor_visits = visitor_visits end |
Instance Attribute Details
#current_experiment_id ⇒ 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.
68 69 70 |
# File 'lib/kameleoon/targeting/conditions/exclusive_experiment_condition.rb', line 68 def current_experiment_id @current_experiment_id end |
#personalizations ⇒ 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.
68 69 70 |
# File 'lib/kameleoon/targeting/conditions/exclusive_experiment_condition.rb', line 68 def personalizations @personalizations 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.
68 69 70 |
# File 'lib/kameleoon/targeting/conditions/exclusive_experiment_condition.rb', line 68 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.
68 69 70 |
# File 'lib/kameleoon/targeting/conditions/exclusive_experiment_condition.rb', line 68 def visitor_visits @visitor_visits end |