summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/opentox-ruby-api-wrapper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/opentox-ruby-api-wrapper.rb b/lib/opentox-ruby-api-wrapper.rb
index a27125b..4a65697 100644
--- a/lib/opentox-ruby-api-wrapper.rb
+++ b/lib/opentox-ruby-api-wrapper.rb
@@ -131,8 +131,7 @@ module OpenTox
# Tell the dataset that it is complete
def close
- puts @uri + '/finished'
- RestClient.put @uri + '/finished', nil
+ RestClient.put @uri, :finished => 'true'
end
end