Class: Kameleoon::Targeting::TargetFeatureFlagInfo Private

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleoon/targeting/conditions/target_feature_flag_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.

API:

  • private

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data_file, variations_storage) ⇒ TargetFeatureFlagInfo

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 TargetFeatureFlagInfo.

API:

  • private



54
55
56
57
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 54

def initialize(data_file, variations_storage)
  @data_file = data_file
  @variations_storage = variations_storage
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.

API:

  • private



52
53
54
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 52

def data_file
  @data_file
end

#variations_storageObject (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.

API:

  • private



52
53
54
# File 'lib/kameleoon/targeting/conditions/target_feature_flag_condition.rb', line 52

def variations_storage
  @variations_storage
end