Sha256: 80a06d4d57e067c3c1062c9319920ae5b7b29566f8e321e3fa798b71d82ad219

Contents?: true

Size: 279 Bytes

Versions: 5

Compression:

Stored size: 279 Bytes

Contents

module OpenFeature
  module SDK
    EvaluationDetails = Struct.new(:flag_key, :resolution_details, keyword_init: true) do
      extend Forwardable

      def_delegators :resolution_details, :value, :reason, :variant, :error_code, :error_message, :flag_metadata
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openfeature-sdk-0.4.0 lib/open_feature/sdk/evaluation_details.rb
openfeature-sdk-0.3.1 lib/open_feature/sdk/evaluation_details.rb
openfeature-sdk-0.3.0 lib/open_feature/sdk/evaluation_details.rb
openfeature-sdk-0.2.1 lib/open_feature/sdk/evaluation_details.rb
openfeature-sdk-0.2.0 lib/open_feature/sdk/evaluation_details.rb