-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This brings the wrapper class in line with the others. The class is now constructed via the options passed to `#use`, which means we don't need to change the signature of any methods, which was not ideal. stack = GH::Stack.build do use GH::Retry, retries: 10 end GH.with(stack) { GH['users/rkh'] } Also renames the `sleep` option to `wait`.
- Loading branch information
1 parent
802fab4
commit e23cc49
Showing
2 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters