Class: Feat::EvaluationResult
- Inherits:
-
Struct
- Object
- Struct
- Feat::EvaluationResult
- Defined in:
- lib/feat/eval.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#value ⇒ Object
Returns the value of attribute value.
-
#variation_id ⇒ Object
Returns the value of attribute variation_id.
Instance Method Summary collapse
-
#initialize(value:, variation_id: nil, reason:, error_message: nil) ⇒ EvaluationResult
constructor
A new instance of EvaluationResult.
Constructor Details
#initialize(value:, variation_id: nil, reason:, error_message: nil) ⇒ EvaluationResult
Returns a new instance of EvaluationResult.
15 16 17 |
# File 'lib/feat/eval.rb', line 15 def initialize(value:, variation_id: nil, reason:, error_message: nil) super end |
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message
14 15 16 |
# File 'lib/feat/eval.rb', line 14 def @error_message end |
#reason ⇒ Object
Returns the value of attribute reason
14 15 16 |
# File 'lib/feat/eval.rb', line 14 def reason @reason end |
#value ⇒ Object
Returns the value of attribute value
14 15 16 |
# File 'lib/feat/eval.rb', line 14 def value @value end |
#variation_id ⇒ Object
Returns the value of attribute variation_id
14 15 16 |
# File 'lib/feat/eval.rb', line 14 def variation_id @variation_id end |