summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2009-08-14 15:10:05 +0200
committerChristoph Helma <helma@in-silico.de>2009-08-14 15:10:05 +0200
commit664599d8d38310c3e054084dc07f01ec8967c999 (patch)
treead1ae1ca10c3ec27a428f964d4a4e838bd3a26c8 /lib
parentd2f298ada82db479624b6b56269952e6cf4bb27a (diff)
post instead of put to submit to dataset
Diffstat (limited to 'lib')
-rw-r--r--lib/opentox-ruby-api-wrapper.rb2
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