class Github::Authorizations

def update(*args)

Other tags:
    Api: - public

Options Hash: (**inputs)
  • :note (String) --
  • :remove_scopes (Array) --
  • :add_scopes (Array) --
  • :scopes (Array) --

Parameters:
  • inputs (Hash) --
def update(*args)
  raise_authentication_error unless authenticated?
  arguments(args, required: [:authorization_id]) do
    sift VALID_AUTH_PARAM_NAMES
  end
  patch_request("/authorizations/#{authorization_id}", arguments.params)
end