Sha256: 9f94c063aa776bac247d2128db0394e87d17efe46261bae6a3f9973a099b38ea
Contents?: true
Size: 505 Bytes
Versions: 15
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Decidim module Accountability module Admin class ImportResultsCSVJob < ApplicationJob queue_as :default 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
15 entries across 15 versions & 1 rubygems