From 3d65a42cf68bd5128666d810ec3c29673624ee5d Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 2 Feb 2010 17:00:48 +0100 Subject: centralized database configuration --- lib/task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/task.rb') 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 -- cgit v1.2.3