class OpenFeature::FlagEvaluationDetails

Overview

A structure representing the result of the flag evaluation process, and made available in the detailed flag resolution functions

Defined in:

openfeature/evaluation.cr

Constructors

Instance Method Summary

Instance methods inherited from class OpenFeature::ResolutionDetails

error_code : ErrorCode | Nil error_code, error_code=(error_code : ErrorCode | Nil) error_code=, error_message : String | Nil error_message, error_message=(error_message : String | Nil) error_message=, flag_metadata : Metadata | Nil flag_metadata, flag_metadata=(flag_metadata : Metadata | Nil) flag_metadata=, reason : Reason | Nil reason, reason=(reason : Reason | Nil) reason=, value : Value value, value=(value : Value) value=, variant : String | Nil variant, variant=(variant : String | Nil) variant=

Constructor methods inherited from class OpenFeature::ResolutionDetails

new(value : Value, *, variant : String | Nil = nil, error_code : ErrorCode | Nil = nil, error_message : String | Nil = nil, reason : Reason | Nil = nil, flag_metadata : Metadata | Nil = nil) new

Constructor Detail

def self.new(flag_key : FlagKey, value_type : Type, resolution : ResolutionDetails) #

[View source]
def self.new(flag_key : FlagKey, *, value : Value, value_type : Type, variant : String | Nil = nil, error_code : ErrorCode | Nil = nil, error_message : String | Nil = nil, reason : Reason | Nil = nil, flag_metadata : FlagMetadata | Nil = nil) #

[View source]

Instance Method Detail

def flag_key : FlagKey #

[View source]
def flag_key=(flag_key : FlagKey) #

[View source]