Sha256: 8f545ae90c671e1c982ba5c433ae2d9edeb3fa0a07d876da2955c159030ee5a6

Contents?: true

Size: 326 Bytes

Versions: 93

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

require "resend"
require "resend/mailer"

module Resend
  # Main railtime class
  class Railtie < ::Rails::Railtie
    ActiveSupport.on_load(:action_mailer) do
      add_delivery_method :resend, Resend::Mailer
      ActiveSupport.run_load_hooks(:resend_mailer, Resend::Mailer)
    end
  end
end

Version data entries

93 entries across 93 versions & 2 rubygems

Version Path
resend-0.18.0 lib/resend/railtie.rb
resend-0.17.2 lib/resend/railtie.rb
resend-0.17.1 lib/resend/railtie.rb
resend-0.17.0 lib/resend/railtie.rb
resend-0.16.0 lib/resend/railtie.rb
resend-0.15.0 lib/resend/railtie.rb
resend-0.14.0 lib/resend/railtie.rb
resend-0.13.0 lib/resend/railtie.rb
resend-0.12.0 lib/resend/railtie.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
resend-0.11.0 lib/resend/railtie.rb
resend-0.10.0 lib/resend/railtie.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
resend-0.9.0 lib/resend/railtie.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/resend-0.8.1/lib/resend/railtie.rb