Sha256: 76a0f37881eb6e09010bde0df4cfcea35fc28faa101ebd73cf1e38396780b80c

Contents?: true

Size: 260 Bytes

Versions: 12

Compression:

Stored size: 260 Bytes

Contents

require 'railgun/mailer'

module Railgun
  class Railtie < ::Rails::Railtie
    ActiveSupport.on_load(:action_mailer) do
      add_delivery_method :mailgun, Railgun::Mailer
      ActiveSupport.run_load_hooks(:mailgun_mailer, Railgun::Mailer)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mailgun-ruby-1.2.15 lib/railgun/railtie.rb
mailgun-ruby-1.2.14 lib/railgun/railtie.rb
mailgun-ruby-1.2.13 lib/railgun/railtie.rb
mailgun-ruby-1.2.12 lib/railgun/railtie.rb
mailgun-ruby-1.2.11 lib/railgun/railtie.rb
mailgun-ruby-1.2.10 lib/railgun/railtie.rb
mailgun-ruby-1.2.9 lib/railgun/railtie.rb
mailgun-ruby-1.2.8 lib/railgun/railtie.rb
mailgun-ruby-1.2.7 lib/railgun/railtie.rb
mailgun-ruby-1.2.6 lib/railgun/railtie.rb
mailgun-ruby-1.2.5 lib/railgun/railtie.rb
mailgun-ruby-1.2.4 lib/railgun/railtie.rb