Class: BatchLoad::Import::Descriptors
- Inherits:
-
BatchLoad::Import
- Object
- BatchLoad::Import
- BatchLoad::Import::Descriptors
- Defined in:
- lib/batch_load/import/descriptors.rb
Overview
TODO: Originally transliterated from Import::CollectionObjects: Remove this to-do after successful operation.
Defined Under Namespace
Classes: ModifyGeneDescriptorInterpreter, QualitativeInterpreter
Constant Summary collapse
- SAVE_ORDER =
[:descriptor]
Instance Attribute Summary collapse
-
#descriptors ⇒ Object
Returns the value of attribute descriptors.
Attributes inherited from BatchLoad::Import
#create_attempted, #csv, #errors, #file, #file_errors, #import_level, #processed, #processed_rows, #project, #project_id, #successful_rows, #total_data_lines, #total_lines, #user, #user_header_map, #user_id
Instance Method Summary collapse
-
#initialize(**args) ⇒ Descriptors
constructor
A new instance of Descriptors.
Methods inherited from BatchLoad::Import
#all_objects, #build, #create, #create_attempted?, #import_level_ok?, #line_strict_level_ok?, #processed?, #ready_to_create?, #save_order, #sorted_processed_rows, #strict_level_ok?, #total_records_created, #user_map, #valid?, #valid_objects, #warn_level_ok?
Constructor Details
#initialize(**args) ⇒ Descriptors
Returns a new instance of Descriptors.
12 13 14 15 |
# File 'lib/batch_load/import/descriptors.rb', line 12 def initialize(**args) @descriptors = {} super(**args) end |
Instance Attribute Details
#descriptors ⇒ Object
Returns the value of attribute descriptors.
9 10 11 |
# File 'lib/batch_load/import/descriptors.rb', line 9 def descriptors @descriptors end |