module Github::Repos::Collaborators
def add_collaborator(user, repo, collaborator)
@repos.add_collaborator('user', 'repo', 'collaborator')
@repos = Github::Repos.new
@github.collaborators.add_collaborator('user', 'repo', 'collaborator')
@github = Github.new
Examples:
Add collaborator
def add_collaborator(user, repo, collaborator) put("/repos/#{user}/#{repo}/collaborators/#{collaborator}") end