Sha256: 8ea6b96b5809e450ad6f9be5628d63574baef80b19ce3f0784d14d524c393965

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

require 'rails/railtie'
require 'mandrill_action_mailer/delivery_handler'

module MandrillActionMailer
  class Railtie < Rails::Railtie
    config.mandrill_action_mailer = MandrillActionMailer.config

    initializer 'mandrill_action_mailer.add_delivery_method' do
      ActionMailer::Base.add_delivery_method(:mandrill, MandrillActionMailer::DeliveryHandler)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mandrill-mailer-rails-1.1.0 lib/mandrill_action_mailer/railtie.rb
mandrill-mailer-rails-1.0.0 lib/mandrill_action_mailer/railtie.rb
mandrill-mailer-rails-0.0.1 lib/mandrill_action_mailer/railtie.rb