Skip to content

Commit

Permalink
Revert "Update README to remove Octokit client instance creation with…
Browse files Browse the repository at this point in the history
… username and password."
  • Loading branch information
Heather Harvey committed May 18, 2021
1 parent 57c5955 commit 23df82e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 23df82e

Please sign in to comment.