houdini/app/jobs/direct_debit_create_job.rb

9 lines
254 B
Ruby
Raw Normal View History

2019-11-07 12:12:25 -06:00
class DirectDebitCreateJob < ApplicationJob
queue_as :default
def perform(donation_id, locale)
DirectDebitCreateNotifyDonorJob.perform_later donation_id, locale
DirectDebitCreateNotifyNonprofitJob.perform_later donation_id, locale
end
end