Class: Kameleoon::Targeting::TargetFeatureFlagCondition::TargetingData Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_fileObject (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

#variationsObject (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_visitsObject (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