Class: Hatchet::Features::CELSuccess

Inherits:
Struct
  • Object
show all
Defined in:
lib/hatchet/features/cel.rb

Overview

Result types for CEL expression evaluation

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



6
7
8
# File 'lib/hatchet/features/cel.rb', line 6

def output
  @output
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



6
7
8
# File 'lib/hatchet/features/cel.rb', line 6

def status
  @status
end