module WarpEngine::ShelfRefreshing

Model concern that keeps the shelves (WarpEngine::Shelves) in step with the catalog: after every commit, soft delete and restore it refreshes the shelves of the recordโ€™s platform. The including model overrides the private shelf_platform to name that platform; nil (the default) refreshes every shelf. Does nothing when the host keeps no shelves.