Sha256: 247c87901aac02c542147b65d99c1032a52431753737efbcb26d449fcd7c7eb6
Contents?: true
Size: 362 Bytes
Versions: 3
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class ItemIdentifier < Lutaml::Model::Serializable attribute :content, :string attribute :type, :string xml do root "itemIdentifier" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "type", to: :type end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.7 | lib/loc_mods/item_identifier.rb |
loc_mods-0.2.6 | lib/loc_mods/item_identifier.rb |
loc_mods-0.2.5 | lib/loc_mods/item_identifier.rb |