Method: Github::Client::Orgs::Hooks#edit
- Defined in:
- lib/github_api/client/orgs/hooks.rb
#edit(*args) ⇒ Object
Edit a hook
139 140 141 142 143 144 145 146 |
# File 'lib/github_api/client/orgs/hooks.rb', line 139 def edit(*args) arguments(args, required: [:org_name, :id]) do assert_required REQUIRED_PARAMS end patch_request("/orgs/#{arguments.org_name}/hooks/#{arguments.id}", arguments.params) end |