Sha256: 628bcc75026e8da867c664eec0857e0e78ac41e077349a797d8a185b4bb27e40

Contents?: true

Size: 207 Bytes

Versions: 19

Compression:

Stored size: 207 Bytes

Contents

module BridgeCache::Jobs
  class ImportRow < ActiveJob::Base
    queue_as :default

    def perform(model, row)
      "BridgeCache::#{model.camelcase}".constantize.create_from_csv_row(row)
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
bridge_cache-0.3.19 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.17 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.16 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.15 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.14 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.13 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.12 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.11 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.10 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.9 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.8 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.7 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.6 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.5 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.4 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.3 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.2 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.01 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.3.0 app/lib/bridge_cache/jobs/import_row.rb