diff options
author | Christoph Helma <helma@in-silico.de> | 2009-08-17 14:36:51 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-08-17 14:36:51 +0200 |
commit | f2ca04688970f0fec0c472e9223ce9bd3a5516ff (patch) | |
tree | 55c7b537d49ab897618ff16d5ed63f83d82c9de6 /lib | |
parent | b107bb5dc168701bcc7173a766d6368a128a33aa (diff) |
put parameter added for dataset.close
Diffstat (limited to 'lib')
-rw-r--r-- | lib/opentox-ruby-api-wrapper.rb | 3 |
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 |