class Github::Authorizations

def update(authorization_id, params={})


github.oauth.update "authorization-id", "add_scopes" => ["repo"],
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.
* :remove_scopes - Optional array - A list of scopes to remove from this authorization.
* :add_scopes - Optional array - A list of scopes to add to this authorization.
* :scopes - Optional array - A list of scopes that this authorization is in.
= Inputs

Update an existing authorization
def update(authorization_id, params={})
  _check_if_authenticated
  assert_presence_of authorization_id
  normalize! params
  filter! VALID_AUTH_PARAM_NAMES, params
  patch_request("/authorizations/#{authorization_id}", params)
end