Skip to content

Commit 6fe0b98

Browse files
committed
Typo fix.
1 parent c7b4e08 commit 6fe0b98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Though this method is convenient you should strongly consider using `OAuth` for
406406

407407
#### 3.2.1 For an User
408408

409-
To create an access token through the GitHub Authrizations API, you are required to pass your basic credentials and scopes you wish to have for the authentication token.
409+
To create an access token through the GitHub Authorizations API, you are required to pass your basic credentials and scopes you wish to have for the authentication token.
410410

411411
```ruby
412412
github = Github.new basic_auth: 'login:password'
@@ -648,7 +648,7 @@ Then update the file just like you do with creating:
648648
contents.update 'username', 'repo_name', 'full_path_to/file.ext',
649649
path: 'full_path_to/file.ext'
650650
message: 'Your commit message',
651-
content: 'The contens to be updated',
651+
content: 'The contents to be updated',
652652
sha: file.sha
653653
```
654654

0 commit comments

Comments
 (0)