Sha256: 2b1dcd9c54098625b6ec85263d088531d922c7689f740830acab3cfaee6f3890
Contents?: true
Size: 447 Bytes
Versions: 9
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module Decidim module TermCustomizer module Admin class ExportJob < ApplicationJob queue_as :default def perform(user, set, name, format) export_data = Decidim::Exporters.find_exporter(format).new( set.translations, TranslationSerializer ).export ExportMailer.export(user, name, export_data).deliver_now end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems