houdini/app/jobs/recurring_donation_change_amount_nonprofit_email_job.rb

8 lines
266 B
Ruby
Raw Normal View History

2019-11-07 18:45:57 +00:00
class RecurringDonationChangeAmountNonprofitEmailJob < ApplicationJob
queue_as :default
def perform(recurring_donation, previous_amount)
DonationMailer.nonprofit_recurring_donation_change_amount(recurring_donation.id, previous_amount).deliver_now
2019-11-07 18:45:57 +00:00
end
end