Skip to content

Commit 3aad41a

Browse files
Change Github::Repos class name to the real one
1 parent 5ab8a79 commit 3aad41a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,13 +563,13 @@ github = Github.new auto_pagination: true
563563
Depending at what stage you pass the `auto_pagination` it will affect all or only a single request. For example, in order to auto paginate all Repository API methods do:
564564

565565
```ruby
566-
Github::Repos.new auto_pagination: true
566+
Github::Сlient::Repos.new auto_pagination: true
567567
```
568568

569569
However, to only auto paginate results for a single request do:
570570

571571
```ruby
572-
Github::Repos.new.list user: '...', auto_pagination: true
572+
Github::Client::Repos.new.list user: '...', auto_pagination: true
573573
```
574574

575575
## 5 Error Handling

0 commit comments

Comments
 (0)