summaryrefslogtreecommitdiff
path: root/lib/task.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-02-02 17:00:48 +0100
committerChristoph Helma <helma@in-silico.de>2010-02-02 17:00:48 +0100
commit3d65a42cf68bd5128666d810ec3c29673624ee5d (patch)
tree741c204dfe70cbe11d20a6f840025fe30699563c /lib/task.rb
parente42bf74be6c6cd7001307d5df661665218001d2e (diff)
centralized database configuration
Diffstat (limited to 'lib/task.rb')
-rw-r--r--lib/task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/task.rb b/lib/task.rb
index 24bd944..9e60c2e 100644
--- a/lib/task.rb
+++ b/lib/task.rb
@@ -10,7 +10,7 @@ module OpenTox
end
def self.create
- uri = RestClient.post @@config[:services]["opentox-task"], nil
+ uri = RestClient.post @@config[:services]["opentox-task"], {}
Task.new(uri)
end