lib/floe/workflow/states/succeed.rb in floe-0.2.3 vs lib/floe/workflow/states/succeed.rb in floe-0.3.0

- old
+ new

@@ -6,15 +6,21 @@ class Succeed < Floe::Workflow::State attr_reader :input_path, :output_path def initialize(workflow, name, payload) super - - @end = true end def run!(input) [nil, input] + end + + def status + "success" + end + + def end? + true end end end end end