Sha256: 3f8e1c7080a295a63febaa0de5339148edbbafacf85be608684a109d5b450513
Contents?: true
Size: 503 Bytes
Versions: 66
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module Decidim class NotificationGeneratorJob < ApplicationJob queue_as :events # rubocop:disable Metrics/ParameterLists def perform(event, event_class_name, resource, followers, affected_users, extra) return if event_class_name.nil? event_class = event_class_name.constantize NotificationGenerator.new(event, event_class, resource, followers, affected_users, extra).generate end # rubocop:enable Metrics/ParameterLists end end
Version data entries
66 entries across 66 versions & 1 rubygems