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.0.12 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.11 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.9 app/lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.8 lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.7 lib/bridge_cache/jobs/import_row.rb
bridge_cache-0.0.6 lib/bridge_cache/jobs/import_row.rb