Method: Github::Client::Repos::Forks#list
- Defined in:
- lib/github_api/client/repos/forks.rb
#list(*args) ⇒ Object Also known as: all
List repository forks
22 23 24 25 26 27 28 |
# File 'lib/github_api/client/repos/forks.rb', line 22 def list(*args) arguments(args, required: [:user, :repo]) response = get_request("/repos/#{arguments.user}/#{arguments.repo}/forks", arguments.params) return response unless block_given? response.each { |el| yield el } end |