Sha256: ae68942c3ada7804932c1cd1858e8e99376eaf30052b00047b8ae3f26042a329
Contents?: true
Size: 384 Bytes
Versions: 13
Compression:
Stored size: 384 Bytes
Contents
# frozen_string_literal: true module Decidim module Budgets class SendVoteReminderJob < ApplicationJob queue_as :vote_reminder def perform(reminder) return if reminder.records.active.blank? ::Decidim::ReminderDelivery.create(reminder:) ::Decidim::Budgets::VoteReminderMailer.vote_reminder(reminder).deliver_now end end end end
Version data entries
13 entries across 13 versions & 1 rubygems