Class: Events::PublicationUpdated
- Inherits:
-
ApplicationEvent
- Object
- RubyEventStore::Event
- ApplicationEvent
- Events::PublicationUpdated
- Defined in:
- app/events/events.rb
Overview
Published after a publication changes in a way that affects what products
render for it — visibility (is_discontinued), name, sku, content_url, cover,
product line, page-placement tags, or a replaced PDF. Triggers an edge-cache
purge of every page that surfaces it and the PDF itself. See
Publication::CachePurgeHandler.
data: { item_id:, previous_primary_product_line_id: (Integer, nil),
previous_page_paths: (Array, nil) }