class Github::Client::Scopes
def list(*args)
github.scopes.all
github = Github.new :oauth_token => 'token'
= Examples
Check what OAuth scopes you have.
def list(*args) arguments(args) response = get_request("/user", arguments.params) response.headers.oauth_scopes ? response.headers.oauth_scopes.split(',') : response end