class Github::Repos::Downloads
def list(*args)
github.repos.downloads.list 'user-name', 'repo-name' { |downl| ... }
github.repos.downloads.list 'user-name', 'repo-name'
github = Github.new
= Examples
List downloads for a repository
def list(*args) arguments(args, :required => [:user, :repo]) response = get_request("/repos/#{user}/#{repo}/downloads", arguments.params) return response unless block_given? response.each { |el| yield el } end