2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-10-18 07:10:26 +02:00
|
|
|
module PriorityDeliveryConcern
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
|
|
self.delivery_job = PriorizedMailDeliveryJob
|
|
|
|
|
|
|
|
def self.critical_email?(action_name)
|
|
|
|
raise NotImplementedError
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|