Class: Hatchet::Features::CELSuccess
- Inherits:
-
Struct
- Object
- Struct
- Hatchet::Features::CELSuccess
- Defined in:
- lib/hatchet/features/cel.rb
Overview
Result types for CEL expression evaluation
Instance Attribute Summary collapse
-
#output ⇒ Object
Returns the value of attribute output.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(output:) ⇒ CELSuccess
constructor
A new instance of CELSuccess.
Constructor Details
#initialize(output:) ⇒ CELSuccess
Returns a new instance of CELSuccess.
7 8 9 |
# File 'lib/hatchet/features/cel.rb', line 7 def initialize(output:) super(status: "success", output: output) end |
Instance Attribute Details
#output ⇒ Object
Returns the value of attribute output
6 7 8 |
# File 'lib/hatchet/features/cel.rb', line 6 def output @output end |
#status ⇒ Object
Returns the value of attribute status
6 7 8 |
# File 'lib/hatchet/features/cel.rb', line 6 def status @status end |