Class: OpenFeatureSorbet::Provider
- Inherits:
-
Object
- Object
- OpenFeatureSorbet::Provider
show all
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/open_feature_sorbet/provider.rb
Overview
Interface that providers must implement.
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(status = ProviderStatus::Ready) ⇒ Provider
Returns a new instance of Provider.
15
16
17
|
# File 'lib/open_feature_sorbet/provider.rb', line 15
def initialize(status = ProviderStatus::Ready)
@status = status
end
|
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
12
13
14
|
# File 'lib/open_feature_sorbet/provider.rb', line 12
def status
@status
end
|
Instance Method Details
#hooks ⇒ Object
26
|
# File 'lib/open_feature_sorbet/provider.rb', line 26
def hooks; end
|
#init(context:) ⇒ Object
20
|
# File 'lib/open_feature_sorbet/provider.rb', line 20
def init(context:); end
|
23
|
# File 'lib/open_feature_sorbet/provider.rb', line 23
def metadata; end
|
#resolve_boolean_value(flag_key:, default_value:, context: nil) ⇒ Object
40
|
# File 'lib/open_feature_sorbet/provider.rb', line 40
def resolve_boolean_value(flag_key:, default_value:, context: nil); end
|
#resolve_number_value(flag_key:, default_value:, context: nil) ⇒ Object
62
|
# File 'lib/open_feature_sorbet/provider.rb', line 62
def resolve_number_value(flag_key:, default_value:, context: nil); end
|
#resolve_string_value(flag_key:, default_value:, context: nil) ⇒ Object
51
|
# File 'lib/open_feature_sorbet/provider.rb', line 51
def resolve_string_value(flag_key:, default_value:, context: nil); end
|
#resolve_structure_value(flag_key:, default_value:, context: nil) ⇒ Object
73
|
# File 'lib/open_feature_sorbet/provider.rb', line 73
def resolve_structure_value(flag_key:, default_value:, context: nil); end
|
#shutdown ⇒ Object
29
|
# File 'lib/open_feature_sorbet/provider.rb', line 29
def shutdown; end
|