houdini/app/jobs/recurring_donation_change_amount_nonprofit_email_job.rb
2019-11-08 16:13:03 -06:00

6 lines
240 B
Ruby

class RecurringDonationChangeAmountNonprofitEmailJob < EmailJob
def perform(recurring_donation, previous_amount)
DonationMailer.nonprofit_recurring_donation_change_amount(recurring_donation.id, previous_amount).deliver_now
end
end