Sha256: 33d69baeb2c029864e5498db1ed5068305ce1d6031186d11c3a339728677016e
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "hierarchical_part" module LocMods class CitySection < Lutaml::Model::Serializable attribute :content, HierarchicalPart attribute :city_section_type, :string xml do root "citySection" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "citySectionType", to: :city_section_type end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.5 | lib/loc_mods/city_section.rb |