demarches-normaliennes/app/mailers/concerns/priority_delivery_concern.rb
2024-08-22 09:26:48 +02:00

12 lines
250 B
Ruby

# frozen_string_literal: true
module PriorityDeliveryConcern
extend ActiveSupport::Concern
included do
self.delivery_job = PriorizedMailDeliveryJob
def self.critical_email?(action_name)
raise NotImplementedError
end
end
end