class Github::Repos
def contributors(user_name=nil, repo_name=nil, 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=nil, repo_name=nil, params={}) _update_user_repo_params(user_name, repo_name) _validate_user_repo_params(user, repo) unless user? && repo? _normalize_params_keys(params) _filter_params_keys(['anon'], params) response = get("/repos/#{user}/#{repo}/contributors", params) return response unless block_given? response.each { |el| yield el } end