Sha256: c7bd12c842ecf4e45c165703027e60036fde388b9cf98975cf8846e338255739
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class PhysicalLocation < Lutaml::Model::Serializable attribute :content, :string attribute :display_label, :string attribute :type, :string xml do root "physicalLocation" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "displayLabel", to: :display_label map_attribute "type", to: :type end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.5 | lib/loc_mods/physical_location.rb |