enum OpenFeature::Reason

Defined in:

openfeature/evaluation.cr

Enum Members

STATIC = 0

The resolved value is static (no dynamic evaluation).

DEFAULT = 1

The resolved value fell back to a pre-configured value (no dynamic evaluation occurred or dynamic evaluation yielded no result).

TARGETING_MATCH = 2

The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.

SPLIT = 3

The resolved value was the result of pseudorandom assignment.

CACHED = 4

The resolved value was retrieved from cache.

DISABLED = 5

The resolved value was the result of the flag being disabled in the management system.

UNKNOWN = 6

The reason for the resolved value could not be determined.

STALE = 7

The resolved value is non-authoritative or possibly out of date

ERROR = 8

The resolved value was the result of an error.

Instance Method Summary

Instance Method Detail

def cached? #

[View source]
def default? #

[View source]
def disabled? #

[View source]
def error? #

[View source]
def split? #

[View source]
def stale? #

[View source]
def static? #

[View source]
def targeting_match? #

[View source]
def unknown? #

[View source]