Sha256: 3e85d0d2cc26db465104cf852a13d0665c3ab499ac4203efe24a56463ec38231

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

#To read csv file
require 'csv'

namespace :workarea do
  desc 'Import magento CSV file content..'

  task import_magento_content: :environment do
    # Instantiated the ImportMagentoContent class
    @import_data = Workarea::MagentoMigrator::Product.new
    @import_data.read_csv_file # Calling the read_csv_file method
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-magento_migrator-1.0.1 lib/tasks/workarea/import_magento_content.rake
workarea-magento_migrator-1.0.0.pre lib/tasks/workarea/import_magento_content.rake