Sha256: 29fc6a5ee63efc8cf3a843823955cec0a171d8c9a0987e6e5bf3667d492cfc65

Contents?: true

Size: 261 Bytes

Versions: 2

Compression:

Stored size: 261 Bytes

Contents

module NullDelivery
  class Railtie < Rails::Railtie
    initializer "null_delivery.add_delivery_method" do
      symbol = :null_delivery
      klass  = NullDelivery::DeliveryMethod

      ActionMailer::Base.add_delivery_method(symbol, klass)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
null_delivery-1.0.1 lib/null_delivery/railtie.rb
null_delivery-1.0.0 lib/null_delivery/railtie.rb