demarches-normaliennes/config/initializers/dolist.rb

8 lines
179 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2022-04-11 17:22:32 +02:00
ActiveSupport.on_load(:action_mailer) do
require "dolist/api_sender"
2023-04-24 16:10:12 +02:00
ActionMailer::Base.add_delivery_method :dolist_api, Dolist::APISender
2022-04-11 17:22:32 +02:00
end