Sha256: fb0fe13e1a9106e129320388ba8f9140c994ad9934582089e2c5196f1d1ed0a3

Contents?: true

Size: 312 Bytes

Versions: 1

Compression:

Stored size: 312 Bytes

Contents

module Goatmail
  class Railtie < Rails::Railtie
    initializer "goatmail.add_delivery_method" do
      ActiveSupport.on_load :action_mailer do
        ActionMailer::Base.add_delivery_method :goatmail, Goatmail::DeliveryMethod, location: Goatmail.location
      end
    end
  end if defined? Rails::Railtie
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goatmail-1.2.0 lib/goatmail/railtie.rb