Sha256: 0c412a26b91651d0fffbfe7ad71a9408960487b556e3d225b910edd0f8deae9f

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

module LetterOpener
  class Railtie < Rails::Railtie
    initializer "letter_opener.add_delivery_method" do
      ActiveSupport.on_load :action_mailer do
        ActionMailer::Base.add_delivery_method(
          :letter_opener,
          LetterOpener::DeliveryMethod
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
letter_opener-1.7.0 lib/letter_opener/railtie.rb
letter_opener-1.6.0 lib/letter_opener/railtie.rb
letter_opener-1.5.0 lib/letter_opener/railtie.rb