mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 04:07:33 +02:00
13 lines
305 B
Ruby
13 lines
305 B
Ruby
namespace :collect_csv_data do
|
|
desc 'Import from csv registry business contact into BusinessRegistryContact model'
|
|
|
|
task business_contacts: :environment do
|
|
ScanCsvRegistryBusinnesContactsJob.perform_later(filename)
|
|
end
|
|
|
|
private
|
|
|
|
def filename
|
|
'./ettevotja_rekvisiidid_init.csv'
|
|
end
|
|
end
|