Class: Datacite::Mapping::IdentifierNode

Inherits:
XML::Mapping::ObjectNode
  • Object
show all
Defined in:
lib/datacite/mapping/identifier.rb

Overview

Custom node to warn (but not blow up) if we read an XML <resource/> that's missing its <identifier/>.

Instance Method Summary collapse

Instance Method Details

#xml_to_obj(_obj, xml)



63
64
65
# File 'lib/datacite/mapping/identifier.rb', line 63

def xml_to_obj(_obj, xml)
  super if has_element?(xml)
end