Sha256: 25f279c85bdf0fdbf1d30b586b239ca586e34d9d8d2c7553a0d1093c0ea6dd86

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module ActionMailer
  class NullDeliveryMethod
    def initialize(*)
    end

    def deliver!(_)
    end
  end
end

ActiveSupport.on_load(:action_mailer) do
  ActionMailer::Base.add_delivery_method :null, ActionMailer::NullDeliveryMethod
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wasmify-rails-0.2.0 lib/action_mailer/null_delivery.rb
wasmify-rails-0.1.5 lib/action_mailer/null_delivery.rb
wasmify-rails-0.1.4 lib/action_mailer/null_delivery.rb
wasmify-rails-0.1.3 lib/action_mailer/null_delivery.rb
wasmify-rails-0.1.2 lib/action_mailer/null_delivery.rb
wasmify-rails-0.1.1 lib/action_mailer/null_delivery.rb