Sha256: fe1272482f3e7c54a341d8ea1ea10fdeac73a76d142829b405f1a6245251d5c1

Contents?: true

Size: 209 Bytes

Versions: 3

Compression:

Stored size: 209 Bytes

Contents

module Chaskiq
  class ListImporterJob < ActiveJob::Base

    queue_as :default

    #send to all list with state passive & subscribed
    def perform(list, file)
      list.import_csv(file)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chaskiq-0.0.6 app/jobs/chaskiq/list_importer_job.rb
chaskiq-0.0.5 app/jobs/chaskiq/list_importer_job.rb
chaskiq-0.0.4 app/jobs/chaskiq/list_importer_job.rb