diff options
author | Christoph Helma <helma@in-silico.de> | 2009-08-14 15:10:05 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-08-14 15:10:05 +0200 |
commit | 664599d8d38310c3e054084dc07f01ec8967c999 (patch) | |
tree | ad1ae1ca10c3ec27a428f964d4a4e838bd3a26c8 /lib | |
parent | d2f298ada82db479624b6b56269952e6cf4bb27a (diff) |
post instead of put to submit to dataset
Diffstat (limited to 'lib')
-rw-r--r-- | lib/opentox-ruby-api-wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox-ruby-api-wrapper.rb b/lib/opentox-ruby-api-wrapper.rb index 647b357..19b9e4a 100644 --- a/lib/opentox-ruby-api-wrapper.rb +++ b/lib/opentox-ruby-api-wrapper.rb @@ -116,7 +116,7 @@ module OpenTox # Add a compound and a feature to a dataset def add(compound,feature) - RestClient.put @uri, :compound_uri => compound.uri, :feature_uri => feature.uri + RestClient.post @uri, :compound_uri => compound.uri, :feature_uri => feature.uri end end |