summaryrefslogtreecommitdiff
path: root/lib/rest_client_wrapper.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/rest_client_wrapper.rb
parent48d044219674a96ba0d387311612c9fb95949e05 (diff)
old user authentification removed
Diffstat (limited to 'lib/rest_client_wrapper.rb')
-rw-r--r--lib/rest_client_wrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rest_client_wrapper.rb b/lib/rest_client_wrapper.rb
index 1282bee..82836d9 100644
--- a/lib/rest_client_wrapper.rb
+++ b/lib/rest_client_wrapper.rb
@@ -67,7 +67,7 @@ module OpenTox
begin
#LOGGER.debug "RestCall: "+rest_call.to_s+" "+uri.to_s+" "+headers.inspect
- resource = RestClient::Resource.new(uri,{:timeout => 60}) #, :user => @@users[:users].keys[0], :password => @@users[:users].values[0]})
+ resource = RestClient::Resource.new(uri,{:timeout => 60})
if payload
result = resource.send(rest_call, payload, headers)
elsif headers