class Github::Repos::Statistics
def contributors(*args)
github.repos.stats.contributors user: '...', repo: '...' { |stat| ... }
github.repos.stats.contributors user: '...', repo: '...'
github = Github.new
= Examples
Get contributors list with additions, deletions, and commit counts
def contributors(*args) arguments(args, :required => [:user, :repo]) params = arguments.params response = get_request("/repos/#{user}/#{repo}/stats/contributors", params) return response unless block_given? response.each { |el| yield el } end