Class: BridgeCache::Jobs::ImportRow

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/lib/bridge_cache/jobs/import_row.rb

Instance Method Summary collapse

Instance Method Details

#perform(model, row) ⇒ Object



6
7
8
# File 'app/lib/bridge_cache/jobs/import_row.rb', line 6

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