lib/floe/workflow/states/succeed.rb in floe-0.2.1 vs lib/floe/workflow/states/succeed.rb in floe-0.2.2

- old
+ new

@@ -7,15 +7,14 @@ attr_reader :input_path, :output_path def initialize(workflow, name, payload) super - @input_path = Path.new(payload.fetch("InputPath", "$")) - @output_path = Path.new(payload.fetch("OutputPath", "$")) + @end = true end - def end? - true # TODO: Handle if this is ending a parallel or map state + def run!(input) + [nil, input] end end end end end