Class: Kameleoon::Targeting::VisitorCodeCondition Private
- Inherits:
-
StringValueCondition
- Object
- Condition
- StringValueCondition
- Kameleoon::Targeting::VisitorCodeCondition
- Defined in:
- lib/kameleoon/targeting/conditions/visitor_code_condition.rb
Overview
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.
VisitorCodeCondition is a condition for checking of targeting by visitor code
Instance Attribute Summary
Attributes inherited from Condition
Instance Method Summary collapse
-
#initialize(json_condition) ⇒ VisitorCodeCondition
constructor
private
A new instance of VisitorCodeCondition.
Methods inherited from StringValueCondition
Methods inherited from Condition
Constructor Details
#initialize(json_condition) ⇒ VisitorCodeCondition
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 VisitorCodeCondition.
11 12 13 |
# File 'lib/kameleoon/targeting/conditions/visitor_code_condition.rb', line 11 def initialize(json_condition) super(json_condition, json_condition['visitorCode']) end |