class Github::Repos::Collaborators
def list(*args)
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(*args) arguments(args, :required => [:user, :repo]) params = arguments.params response = get_request("/repos/#{user}/#{repo}/collaborators", params) return response unless block_given? response.each { |el| yield el } end