Class: Datacite::Mapping::Datacite3RidTypeNode

Inherits:
XML::MappingExtensions::TypesafeEnumNode
  • Object
show all
Defined in:
lib/datacite/mapping/related_identifier.rb

Instance Method Summary collapse

Instance Method Details

#to_xml_text(enum_instance)



173
174
175
176
177
# File 'lib/datacite/mapping/related_identifier.rb', line 173

def to_xml_text(enum_instance)
  return super unless enum_instance == RelatedIdentifierType::IGSN

  super(RelatedIdentifierType::HANDLE)
end