Class: CSVStepImporter::Model::ImportableModel
- Defined in:
- lib/csv_step_importer/model/importable_model.rb
Instance Attribute Summary
Attributes inherited from Model
Attributes inherited from Node
Instance Method Summary collapse
-
#add_model_children ⇒ Object
Logic.
Methods inherited from Model
#add_daos, #build_daos_for_row, cache_key, #dao_node, #daos, #filter_daos!, #initialize, #link_rows_to_daos
Methods inherited from Node
#add_children, #build_env, #create_or_update, #initialize, #run_validations!, #validate_children
Methods inherited from Base
#ancestors, #assign_attributes, #create_or_update, #inspect, #persisted?, #save, #save!, set, #to_s, #update
Constructor Details
This class inherits a constructor from CSVStepImporter::Model::Model
Instance Method Details
#add_model_children ⇒ Object
Logic
41 42 43 |
# File 'lib/csv_step_importer/model/importable_model.rb', line 41 def add_model_children add_children [dao_node, importer_class, reflector_class], prepend: true end |