class OpenFeature::Providers::InMemory
- OpenFeature::Providers::InMemory
- OpenFeature::Provider
- Reference
- Object
Defined in:
openfeature/providers/in_memory.crConstructors
Instance Method Summary
- #flags : Metadata
- #flags=(new_flags : Metadata)
- #resolve_boolean_value(flag_key : FlagKey, default : Bool = true, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
- #resolve_number_value(flag_key : FlagKey, default : Number = 0, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
- #resolve_object_value(flag_key : FlagKey, default : Structure, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
- #resolve_string_value(flag_key : FlagKey, default : String = "", ctx : EvaluationContext | Nil = nil) : ResolutionDetails
Instance methods inherited from class OpenFeature::Provider
add_client(client : Client)
add_client,
evaluation_context : EvaluationContext
evaluation_context,
metadata : Metadata
metadata,
name : String
name,
remove_client(client : Client)
remove_client,
resolve_boolean_value(flag_key : FlagKey, default : Bool = true, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
resolve_boolean_value,
resolve_number_value(flag_key : FlagKey, default : Number = 0, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
resolve_number_value,
resolve_object_value(flag_key : FlagKey, default : Structure, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
resolve_object_value,
resolve_string_value(flag_key : FlagKey, default : String = "", ctx : EvaluationContext | Nil = nil) : ResolutionDetails
resolve_string_value,
state : ProviderEvent
state
Constructor methods inherited from class OpenFeature::Provider
new(name : String, *, evaluation_context ectx : EvaluationContext | Nil = nil, metadata md : Metadata | Nil = nil, hooks : Hash(String, Array(OpenFeature::Hook)) = Hash(String, Array(Hook)).new)
new
Constructor Detail
Instance Method Detail
def resolve_boolean_value(flag_key : FlagKey, default : Bool = true, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
#
def resolve_number_value(flag_key : FlagKey, default : Number = 0, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
#
def resolve_object_value(flag_key : FlagKey, default : Structure, ctx : EvaluationContext | Nil = nil) : ResolutionDetails
#
def resolve_string_value(flag_key : FlagKey, default : String = "", ctx : EvaluationContext | Nil = nil) : ResolutionDetails
#