lib/github_api/client/repos/forks.rb in github_api-0.18.2 vs lib/github_api/client/repos/forks.rb in github_api-0.19.0
- old
+ new
@@ -11,11 +11,13 @@
# The sort order. Can be either newest, oldest, or stargazers.
# Default: newest
#
# @example
# github = Github.new
- # github.repos.forks.list 'user-name', 'repo-name'
- # github.repos.forks.list 'user-name', 'repo-name' { |fork| ... }
+ # github.repos.forks.list('user-name', 'repo-name')
+ # github.repos.forks.list('user-name', 'repo-name') { |fork|
+ # #...
+ # }
#
# @api public
def list(*args)
arguments(args, required: [:user, :repo])