Class: Events::DeliveryAutomaticallyReleased
- Inherits:
-
ApplicationEvent
- Object
- RubyEventStore::Event
- ApplicationEvent
- Events::DeliveryAutomaticallyReleased
- Defined in:
- app/events/events.rb
Overview
Domain event emitted by the release_future_deliveries cron whenever a
future_release Delivery is released past its scheduled date and
successfully advanced into at_warehouse. Consumed by
DeliveryAutomaticallyReleasedNotificationHandler, which emails the
customer's primary sales rep (or orders@ as fallback).
Payload: data: { delivery_id: Integer }