Sha256: 06445357178026c084e79b8e0b25ee80651ee83caf33b3fce41e73f483e9e30f

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wasmify-rails-0.1.0 lib/active_storage/null_delivery.rb