From 23df82efc0d1ccde52a95291f50c43cbc7249d97 Mon Sep 17 00:00:00 2001 From: Heather Harvey Date: Tue, 18 May 2021 10:38:48 -0700 Subject: [PATCH] Revert "Update README to remove Octokit client instance creation with username and password." --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1a6dfb1d9..aad7cc558 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,9 @@ Access the library in Ruby: # Provide authentication credentials client = Octokit::Client.new(:access_token => 'personal_access_token') +# You can still use the username/password syntax by replacing the password value with your PAT. +# client = Octokit::Client.new(:login => 'defunkt', :password => 'personal_access_token') + # Fetch the current user client.user ```