lib/floe/workflow/states/wait.rb in floe-0.1.0 vs lib/floe/workflow/states/wait.rb in floe-0.1.1
- old
+ new
@@ -10,11 +10,11 @@
super
@next = payload["Next"]
@seconds = payload["Seconds"].to_i
- @input_path = Path.new(payload.fetch("InputPath", "$"), context)
- @output_path = Path.new(payload.fetch("OutputPath", "$"), context)
+ @input_path = Path.new(payload.fetch("InputPath", "$"))
+ @output_path = Path.new(payload.fetch("OutputPath", "$"))
end
def run!(*)
super { sleep(seconds); nil }
end