lib/floe/workflow/states/fail.rb in floe-0.2.3 vs lib/floe/workflow/states/fail.rb in floe-0.3.0
- old
+ new
@@ -9,18 +9,21 @@
def initialize(workflow, name, payload)
super
@cause = payload["Cause"]
@error = payload["Error"]
- @end = true
end
def run!(input)
[nil, input]
end
def status
"errored"
+ end
+
+ def end?
+ true
end
end
end
end
end