mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
9 lines
289 B
Ruby
9 lines
289 B
Ruby
FILE_NAME = './ettevotja_rekvisiidid_init.csv'.freeze
|
|
|
|
namespace :collect_csv_data do
|
|
desc 'Import from csv registry business contact into BusinessRegistryContact model'
|
|
|
|
task business_contacts: :environment do
|
|
ScanCsvRegistryBusinnesContactsJob.perform_later(FILE_NAME)
|
|
end
|
|
end
|