Class: DatasetRecord::DarwinCore::Occurrence::ImportProtonym::MatchExisting
- Inherits:
-
DatasetRecord::DarwinCore::Occurrence::ImportProtonym
- Object
- DatasetRecord::DarwinCore::Occurrence::ImportProtonym
- DatasetRecord::DarwinCore::Occurrence::ImportProtonym::MatchExisting
- Defined in:
- app/models/dataset_record/darwin_core/occurrence.rb
Instance Method Summary collapse
Methods inherited from DatasetRecord::DarwinCore::Occurrence::ImportProtonym
create_if_not_exists, #execute, #get_protonym, match_existing
Instance Method Details
#exception_args(origins, parent, name, protonym) ⇒ Object
152 153 154 155 156 157 |
# File 'app/models/dataset_record/darwin_core/occurrence.rb', line 152 def exception_args(origins, parent, name, protonym) { origins[name.object_id] => ["Protonym #{name[:name]} not found with that name and/or classification. Importing new names is disabled by import settings."] } end |