class Github::Client::Repos::Hooks

def edit(*args)

Other tags:
    Api: - public

Parameters:
  • params (Hash) --
def edit(*args)
  arguments(args, required: [:user, :repo, :id]) do
    permit VALID_HOOK_PARAM_NAMES, recursive: false
    assert_required REQUIRED_PARAMS
  end
  patch_request("/repos/#{arguments.user}/#{arguments.repo}/hooks/#{arguments.id}", arguments.params)
end