Sha256: 7da6b5095a55ed53629767c69447b6ffdf237c32c50f4a7e79692b6cefb5780b

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 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: Rails.root.join("tmp", "goatmail")
      end
    end
  end if defined? Rails::Railtie
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
goatmail-1.1.1 lib/goatmail/railtie.rb
goatmail-1.1.0 lib/goatmail/railtie.rb
goatmail-1.0.0 lib/goatmail/railtie.rb