Class: DataImport

Inherits:
DataList
  • Object
show all
Defined in:
app/models/rails_data/data_lists/data_import.rb

Instance Method Summary collapse

Methods inherited from DataList

#config_excel, #config_pdf, #config_table, #form_parameters, #rebuild!, #update_parameters

Instance Method Details

#config_paramsObject



8
9
10
# File 'app/models/rails_data/data_lists/data_import.rb', line 8

def config_params
  {}
end

#importer(file) ⇒ Object



3
4
5
# File 'app/models/rails_data/data_lists/data_import.rb', line 3

def importer(file)
  @importer ||= DataImportService.new(config_table, file)
end