Sha256: 33d5ddc251bc088f44eeaed3ef2d0cb9a8bb37f6aa7c6d59aaa8ff0ab5f12ef5

Contents?: true

Size: 219 Bytes

Versions: 26

Compression:

Stored size: 219 Bytes

Contents

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

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bridge_cache-0.2.8 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.7 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.6 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.5 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.4 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.3 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.2 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.1 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.2.0 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.1.0 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.23 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.22 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.21 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.20 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.19 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.18 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.17 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.16 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.14 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.13 app/lib/bridge_cache/jobs/import_row.rb