class Github::Authorizations
def create(params={})
"scopes" => ["public_repo"]
github.oauth.create
github = Github.new :basic_auth => 'login:password'
= Examples
* :note_url - Optional string - A URL to remind you what the OAuth token is for.
* :note - Optional string - A note to remind you what the OAuth token is for.
* :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 filter! VALID_AUTH_PARAM_NAMES, params post_request("/authorizations", params) end