demarches-normaliennes/config/initializers/dolist.rb

5 lines
148 B
Ruby

ActiveSupport.on_load(:action_mailer) do
require "dolist/api_sender"
ActionMailer::Base.add_delivery_method :dolist_api, Dolist::APISender
end