Class: LaunchDarkly::Impl::DataModelPreprocessing::FlagPreprocessed

Inherits:
PreprocessedDataBase show all
Defined in:
lib/ldclient-rb/impl/model/preprocessed_data.rb

Overview

Since:

  • 5.5.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from PreprocessedDataBase

#==, #as_json, #to_json

Constructor Details

#initialize(off_result, fallthrough_factory) ⇒ FlagPreprocessed

Returns a new instance of FlagPreprocessed.

Since:

  • 5.5.0



67
68
69
70
# File 'lib/ldclient-rb/impl/model/preprocessed_data.rb', line 67

def initialize(off_result, fallthrough_factory)
  @off_result = off_result
  @fallthrough_factory = fallthrough_factory
end

Instance Attribute Details

#fallthrough_factoryEvalResultFactoryMultiVariations (readonly)

Returns:

Since:

  • 5.5.0



75
76
77
# File 'lib/ldclient-rb/impl/model/preprocessed_data.rb', line 75

def fallthrough_factory
  @fallthrough_factory
end

#off_resultEvalResultsForSingleVariation (readonly)

Returns:

Since:

  • 5.5.0



73
74
75
# File 'lib/ldclient-rb/impl/model/preprocessed_data.rb', line 73

def off_result
  @off_result
end