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

13 lines
250 B
Ruby
Raw Normal View History

# 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