class OpenFeature::ResolutionDetails

Overview

A structure which contains a subset of the fields defined in the evaluation details, representing the result of the provider's flag resolution process

Direct Known Subclasses

Defined in:

openfeature/evaluation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]

Instance Method Detail

def error_code : ErrorCode | Nil #

[View source]
def error_code=(error_code : ErrorCode | Nil) #

[View source]
def error_message : String | Nil #

[View source]
def error_message=(error_message : String | Nil) #

[View source]
def flag_metadata : Metadata | Nil #

[View source]
def flag_metadata=(flag_metadata : Metadata | Nil) #

[View source]
def reason : Reason | Nil #

[View source]
def reason=(reason : Reason | Nil) #

[View source]
def value : Value #

[View source]
def value=(value : Value) #

[View source]
def variant : String | Nil #

[View source]
def variant=(variant : String | Nil) #

[View source]