Sha256: 7267f34a0b106144d9ea1c26ebbbc5b7080b5a809fc9e34091f69a63e7a950c1
Contents?: true
Size: 398 Bytes
Versions: 10
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true module Mailtrap module ActionMailer class Railtie < Rails::Railtie initializer 'mailtrap_action_mailer.add_delivery_method', before: 'action_mailer.set_configs' do ActiveSupport.on_load(:action_mailer) do ::ActionMailer::Base.add_delivery_method(:mailtrap, Mailtrap::ActionMailer::DeliveryMethod) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems