Class: Datadog::OpenFeature::Configuration::Source::Resolution
- Inherits:
-
Object
- Object
- Datadog::OpenFeature::Configuration::Source::Resolution
- Defined in:
- lib/datadog/open_feature/configuration/source/resolution.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
- #enabled? ⇒ Boolean
-
#initialize(source, enabled:) ⇒ Resolution
constructor
A new instance of Resolution.
Constructor Details
#initialize(source, enabled:) ⇒ Resolution
Returns a new instance of Resolution.
10 11 12 13 |
# File 'lib/datadog/open_feature/configuration/source/resolution.rb', line 10 def initialize(source, enabled:) @source = source @enabled = enabled end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
8 9 10 |
# File 'lib/datadog/open_feature/configuration/source/resolution.rb', line 8 def source @source end |
Instance Method Details
#enabled? ⇒ Boolean
15 16 17 |
# File 'lib/datadog/open_feature/configuration/source/resolution.rb', line 15 def enabled? @enabled end |