Class: Confidence::OpenFeature::ResolvedFlag
- Inherits:
-
Struct
- Object
- Struct
- Confidence::OpenFeature::ResolvedFlag
- Defined in:
- lib/confidence/openfeature/api_client.rb
Instance Attribute Summary collapse
-
#flag ⇒ Object
Returns the value of attribute flag.
-
#value ⇒ Object
Returns the value of attribute value.
-
#variant ⇒ Object
Returns the value of attribute variant.
Instance Method Summary collapse
Instance Attribute Details
#flag ⇒ Object
Returns the value of attribute flag
87 88 89 |
# File 'lib/confidence/openfeature/api_client.rb', line 87 def flag @flag end |
#value ⇒ Object
Returns the value of attribute value
87 88 89 |
# File 'lib/confidence/openfeature/api_client.rb', line 87 def value @value end |
#variant ⇒ Object
Returns the value of attribute variant
87 88 89 |
# File 'lib/confidence/openfeature/api_client.rb', line 87 def variant @variant end |
Instance Method Details
#empty? ⇒ Boolean
88 89 90 |
# File 'lib/confidence/openfeature/api_client.rb', line 88 def empty? variant.nil? || value.nil? end |