summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/task.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/task.rb b/lib/task.rb
index 8dbd578..e50a982 100644
--- a/lib/task.rb
+++ b/lib/task.rb
@@ -22,12 +22,13 @@ module OpenTox
@@config[:services]["opentox-task"]
end
- def start
- RestClient.put File.join(@uri,'started'), nil
+ def started
+ #LOGGER.info File.join(@uri,'started')
+ RestClient.put File.join(@uri,'started'), {}
end
def cancel
- RestClient.put File.join(@uri,'cancelled'), nil
+ RestClient.put File.join(@uri,'cancelled'), {}
end
def completed(uri)