class Github::Repos::Collaborators
def list(user_name, repo_name, params={})
github.repos.collaborators.list 'user-name', 'repo-name' { |cbr| .. }
github.repos.collaborators.list 'user-name', 'repo-name'
github = Github.new
Examples:
List collaborators
def list(user_name, repo_name, params={}) _update_user_repo_params(user_name, repo_name) _validate_user_repo_params(user, repo) unless (user? && repo?) normalize! params response = get_request("/repos/#{user}/#{repo}/collaborators", params) return response unless block_given? response.each { |el| yield el } end