Sha256: e1707b5b7e4df5a14fd7066db99aab0301bf8c8768b3b70e3112a82b4b6dfee8
Contents?: true
Size: 505 Bytes
Versions: 44
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Decidim module Accountability module Admin class ImportResultsCsvJob < ApplicationJob queue_as :exports def perform(current_user, current_component, csv_file) importer = Decidim::Accountability::ResultsCsvImporter.new(current_component, csv_file, current_user) errors = importer.import! Decidim::Accountability::ImportMailer.import(current_user, errors).deliver_now end end end end end
Version data entries
44 entries across 44 versions & 1 rubygems