module Github::Repos::Collaborators
def collaborator?(user_name, repo_name, collaborator)
@github.collaborators.collaborator?('user', 'repo', 'collaborator')
@github = Github.new
Examples:
Checks if user is a collaborator for a given repository
def collaborator?(user_name, repo_name, collaborator) get("/repos/#{user}/#{repo}/collaborators/#{collaborator}") end