diff options
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 |