Skip to content

Commit

Permalink
Merge pull request #1341 from octokit/revert-1338-4-stable
Browse files Browse the repository at this point in the history
Revert "Update README to remove Octokit client instance creation with username and password."
  • Loading branch information
Heather Harvey committed May 18, 2021
2 parents 57c5955 + 23df82e commit be7c105
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
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

1 comment on commit be7c105

@carella60
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md

Please sign in to comment.