lib/floe/workflow/states/succeed.rb in floe-0.3.1 vs lib/floe/workflow/states/succeed.rb in floe-0.4.0
- old
+ new
@@ -8,15 +8,17 @@
def initialize(workflow, name, payload)
super
end
- def run!(input)
- [nil, input]
+ def start(input)
+ super
+ context.next_state = nil
+ context.output = input
end
- def status
- "success"
+ def running?
+ false
end
def end?
true
end