Method: Github::Client::Authorizations#update
- Defined in:
- lib/github_api/client/authorizations.rb
#update(*args) ⇒ Object Also known as: edit
Update an existing authorization
110 111 112 113 114 115 |
# File 'lib/github_api/client/authorizations.rb', line 110 def update(*args) raise_authentication_error unless authenticated? arguments(args, required: [:id]) patch_request("/authorizations/#{arguments.id}", arguments.params) end |