Class: Flipt::BooleanEvaluationResponse
- Inherits:
-
Object
- Object
- Flipt::BooleanEvaluationResponse
- Defined in:
- lib/flipt_client/models.rb
Overview
BooleanEvaluationResponse
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
readonly
The current value of enabled.
-
#flag_key ⇒ String
readonly
The current value of flag_key.
-
#reason ⇒ String
readonly
The current value of reason.
-
#segment_keys ⇒ Array<String>
readonly
The current value of segment_keys.
Instance Method Summary collapse
-
#initialize(flag_key:, enabled:, reason:, segment_keys: []) ⇒ BooleanEvaluationResponse
constructor
A new instance of BooleanEvaluationResponse.
Constructor Details
#initialize(flag_key:, enabled:, reason:, segment_keys: []) ⇒ BooleanEvaluationResponse
Returns a new instance of BooleanEvaluationResponse.
178 179 180 181 182 183 |
# File 'lib/flipt_client/models.rb', line 178 def initialize(flag_key:, enabled:, reason:, segment_keys: []) @flag_key = flag_key @enabled = enabled @reason = reason @segment_keys = segment_keys end |
Instance Attribute Details
#enabled ⇒ Boolean (readonly)
Returns the current value of enabled.
175 176 177 |
# File 'lib/flipt_client/models.rb', line 175 def enabled @enabled end |
#flag_key ⇒ String (readonly)
Returns the current value of flag_key.
175 176 177 |
# File 'lib/flipt_client/models.rb', line 175 def flag_key @flag_key end |
#reason ⇒ String (readonly)
Returns the current value of reason.
175 176 177 |
# File 'lib/flipt_client/models.rb', line 175 def reason @reason end |
#segment_keys ⇒ Array<String> (readonly)
Returns the current value of segment_keys.
175 176 177 |
# File 'lib/flipt_client/models.rb', line 175 def segment_keys @segment_keys end |