demarches-normaliennes/app/mailers/concerns/priority_delivery_concern.rb

10 lines
219 B
Ruby

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