Skip to content

Rename ServiceHook model

Summary

Rename the ServiceHook model to align with the rename from "services" to "integrations": &2504 (closed)

The model is in the directory app/models/hook but doesn't use a Hooks namespace, so we could also add this while we're at it.

Improvements

Rename the model and association name:

File Current name Proposed name
app/models/hooks/service_hook.rb ServiceHook WebHooks::IntegrationHook
app/models/integration.rb Integration#service_hook Integration#web_hook
Edited by Markus Koller