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