summaryrefslogtreecommitdiff
path: root/lib/model.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-09-02 13:09:19 +0200
committerChristoph Helma <helma@in-silico.ch>2010-09-02 13:09:19 +0200
commit6a560290805ff49d7d43842dd8119a2e2bb06b4a (patch)
tree5de68ff472cfd61f8e13271ba8f41fd171e4a07e /lib/model.rb
parent48d044219674a96ba0d387311612c9fb95949e05 (diff)
old user authentification removed
Diffstat (limited to 'lib/model.rb')
-rw-r--r--lib/model.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/model.rb b/lib/model.rb
index e36b538..3ecd61c 100644
--- a/lib/model.rb
+++ b/lib/model.rb
@@ -95,7 +95,7 @@ module OpenTox
def save
@features.uniq!
- resource = RestClient::Resource.new(@@config[:services]["opentox-model"], :user => @@users[:users].keys[0], :password => @@users[:users].values[0])
+ resource = RestClient::Resource.new(@@config[:services]["opentox-model"])
resource.post(self.to_yaml, :content_type => "application/x-yaml").chomp.to_s
end
@@ -126,7 +126,7 @@ module OpenTox
def save
@features.uniq!
- resource = RestClient::Resource.new(@@config[:services]["opentox-model"], :user => @@users[:users].keys[0], :password => @@users[:users].values[0])
+ resource = RestClient::Resource.new(@@config[:services]["opentox-model"])
resource.post(self.to_yaml, :content_type => "application/x-yaml").chomp.to_s
end