Sha256: 685bdc9d2ecae52fcc292495f92536c88669015af2a477c7ad4a464f8ef8bcfc
Contents?: true
Size: 654 Bytes
Versions: 6
Compression:
Stored size: 654 Bytes
Contents
# frozen_string_literal: true module AdvancedSneakersActiveJob # Rails integration class Railtie < ::Rails::Railtie initializer 'advanced_sneakers_activejob.discover_mailer_job' do ActiveSupport.on_load(:action_mailer) do require 'action_mailer/delivery_job' # Enforce definition of ActionMailer::DeliveryJob::Consumer end end initializer 'advanced_sneakers_activejob.discover_default_job' do ActiveSupport.on_load(:active_job) do ActiveJob::Base.include AdvancedSneakersActiveJob::ActiveJobPatch end end rake_tasks do require 'advanced_sneakers_activejob/tasks' end end end
Version data entries
6 entries across 6 versions & 1 rubygems