class Github::Repos
def contributors(user_name, repo_name, params={})
github.repos.contributors 'user-name','repo-name' { |cont| ... }
github.repos.contributors 'user-name','repo-name'
github = Github.new
= Examples
:anon - Optional flag. Set to 1 or true to include anonymous contributors.
= Parameters
List contributors
def contributors(user_name, repo_name, params={}) set :user => user_name, :repo => repo_name assert_presence_of user, repo normalize! params filter! ['anon'], params response = get_request("/repos/#{user}/#{repo}/contributors", params) return response unless block_given? response.each { |el| yield el } end