class Github::Authorizations
def create(params={})
"scopes" => ["public_repo"]
github.oauth.create
github = Github.new :basic_auth => 'login:password'
= Examples
* :scopes - Optional array - A list of scopes that this authorization is in.
= Inputs
Create a new authorization
def create(params={}) _check_if_authenticated _normalize_params_keys(params) _filter_params_keys(VALID_AUTH_PARAM_NAMES, params) post_request("/authorizations", params) end