From 1e5b41549b1833183d03ba8a5ab834461217f089 Mon Sep 17 00:00:00 2001 From: "Aleksey V. Zapparov" Date: Mon, 27 Oct 2014 01:37:11 +0100 Subject: [PATCH] Fix Authorization headers info in README. Related to #162 Thanks to @epitron --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f96f200..4d3a605b 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ HTTP.auth("Bearer VGhlIEhUVFAgR2VtLCBST0NLUw") And Chain all together! ```ruby -HTTP.auth(:basic, :user => 'user', :pass => 'pass') +HTTP.basic_auth(:user => 'user', :pass => 'pass') .with('Cookie' => '9wq3w') .get('https://example.com') ```