Sha256: 57be009b976f9630c8c9d30ab53d572a106c544b51f37f9be68d992692ba57b0
Contents?: true
Size: 695 Bytes
Versions: 6
Compression:
Stored size: 695 Bytes
Contents
module SendGridMailer class Engine < ::Rails::Engine isolate_namespace SendGridMailer config.generators do |g| g.test_framework :rspec, fixture: false g.fixture_replacement :factory_girl, dir: "spec/factories" end initializer "initialize" do require_relative "./errors" require_relative "./logger" require_relative "./definition" require_relative "./mail_message_ext" require_relative "./mailer_base_ext" end initializer "add_sendgrid_deliverer", before: "action_mailer.set_configs" do require_relative "./deliverer" ActionMailer::Base.add_delivery_method(:sendgrid, SendGridMailer::Deliverer) end end end
Version data entries
6 entries across 6 versions & 1 rubygems