From 8f6abe0cf8c253cc119382cec1afeba297df153c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 15 Nov 2014 14:00:37 +0100 Subject: [PATCH] Fixed variables. --- lib/user_agent.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user_agent.rb b/lib/user_agent.rb index c63e1bb01..7e159eb14 100644 --- a/lib/user_agent.rb +++ b/lib/user_agent.rb @@ -53,7 +53,7 @@ returns # http basic auth (if needed) if options[:user] && options[:user] != '' && options[:password] && options[:password] != '' - request.basic_auth user, password + request.basic_auth options[:user], options[:password] end begin