class Github::Repos::Collaborators

def collaborator?(*args)


github.collaborators.collaborator? collaborator: 'collaborator'
github = Github.new user: 'user-name', repo: 'repo-name'

github.repos.collaborators.collaborator?('user', 'repo', 'collaborator')
github = Github.new
Examples:

Checks if user is a collaborator for a given repository
def collaborator?(*args)
  arguments(args, :required => [:user, :repo, :collaborator])
  params = arguments.params
  get_request("/repos/#{user}/#{repo}/collaborators/#{collaborator}", params)
  true
rescue Github::Error::NotFound
  false
end