class Github::Client::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: [:id]) do
    permit VALID_AUTH_PARAM_NAMES
  end
  patch_request("/authorizations/#{arguments.id}", arguments.params)
end