Sha256: 02b429f1a7fc73cba0faad2f93550196b73d7be76aafa6fea1ecd054b3d2f051

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

module Locomotive
  class ImportContentEntryJob < ActiveJob::Base

    queue_as :default

    def perform(content_type_id, csv_asset_id, csv_options)
      content_type = Locomotive::ContentType.find(content_type_id)
      service = Locomotive::ContentEntryImportService.new(content_type)
      service.import(csv_asset_id, csv_options)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/jobs/locomotive/import_content_entry_job.rb
locomotivecms-4.2.0.alpha1 app/jobs/locomotive/import_content_entry_job.rb
locomotivecms-4.1.1 app/jobs/locomotive/import_content_entry_job.rb
locomotivecms-4.1.0 app/jobs/locomotive/import_content_entry_job.rb
locomotivecms-4.1.0.rc1 app/jobs/locomotive/import_content_entry_job.rb