class Github::Repos::Collaborators
def add(*args)
collaborators.add 'user', 'repo', 'collaborator'
collaborators = Github::Repos::Collaborators.new
github.collaborators.add 'user', 'repo', 'collaborator'
github = Github.new
Examples:
Add collaborator
def add(*args) arguments(args, :required => [:user, :repo, :collaborator]) params = arguments.params put_request("/repos/#{user}/#{repo}/collaborators/#{collaborator}", params) end