class Github::Authorizations
def create(*args)
"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(*args) _check_if_authenticated arguments(args) do sift VALID_AUTH_PARAM_NAMES end post_request("/authorizations", arguments.params) end