From 913dc9ccedc0f5ed4c7045835e4b707af1792ec6 Mon Sep 17 00:00:00 2001 From: Benjamin Bryant Date: Sun, 19 Jul 2015 09:53:25 -0700 Subject: [PATCH] Fixes error in readme sample code. Readme sample code uses the option {result: true} to return a future. This doesn't match the code which uses {get_result: true}. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99e6b8c..fbcd080 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ AWS::Flow::start("MyJobs.hello", { name: "AWS Flow Framework" }) You can also get the result of the background job if desired. ``` ruby -future = AWS::Flow::start("MyJobs.hello", { name: "AWS Flow Framework" }, {result:true}) +future = AWS::Flow::start("MyJobs.hello", { name: "AWS Flow Framework" }, {get_result:true}) # wait till ready future.get ```