Sha256: 5923fa374a64fafebd2f21bab86682fbd4e78523996992133767b915e85eee3e
Contents?: true
Size: 350 Bytes
Versions: 3
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class NamePart < Lutaml::Model::Serializable attribute :content, :string attribute :type, :string xml do root "namePart" 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/name_part.rb |
loc_mods-0.2.6 | lib/loc_mods/name_part.rb |
loc_mods-0.2.5 | lib/loc_mods/name_part.rb |