From f2ca04688970f0fec0c472e9223ce9bd3a5516ff Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 17 Aug 2009 14:36:51 +0200 Subject: put parameter added for dataset.close --- lib/opentox-ruby-api-wrapper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3