diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-02-02 17:11:24 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-02-02 17:11:24 +0100 |
commit | 70aee6e9dfece2760fc6d616e7151f41cc7625bf (patch) | |
tree | 311649a1e05b42bab8c259068623f4508e080f6d /lib/algorithm.rb | |
parent | 3aaae5a3fe341073fc0537606aababe387d830e0 (diff) |
resclient wrapper: headers <-> payload, error report from rdf
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r-- | lib/algorithm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb index ee3109c..ae05e16 100644 --- a/lib/algorithm.rb +++ b/lib/algorithm.rb @@ -16,7 +16,7 @@ module OpenTox # @param [optional,OpenTox::Task] waiting_task (can be a OpenTox::Subtask as well), progress is updated accordingly # @return [String] URI of new resource (dataset, model, ...) def run(params=nil, waiting_task=nil) - RestClientWrapper.post(@uri, {:accept => 'text/uri-list'}, params, waiting_task).to_s + RestClientWrapper.post(@uri, params, {:accept => 'text/uri-list'}, waiting_task).to_s end # Get OWL-DL representation in RDF/XML format |