Module: ActiveJob::Notificare::Recipient
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_job/notificare/recipient.rb
Overview
around_enqueue guard: raises ArgumentError before the adapter receives the job when the job opts into notifications but no ‘recipient:` keyword was supplied.
Opt-in triggers (any one is sufficient):
- notify_on declared on the class
- uses_notify! called on the class (or uses_notify? already true from a prior run)
- step(notify:) was called in a prior run (has_step_notifications? is true)