Class: Events::ItemShippingDimensionsChanged

Inherits:
ApplicationEvent
  • Object
show all
Defined in:
app/events/events.rb

Overview

Domain event emitted when an Item's shipping-box dimensions change
(any_box_changed? is true on save). Replaces the synchronous
set_packaged_items_md5_hash after_save callback so item edits no
longer block on Packing.upsert + the HABTM item_ids write.

Payload: data: { item_id: Integer }

Method Summary

Methods inherited from ApplicationEvent

#data