Sha256: ee709a60f7398d7d0863acaa5f73f781169ca912db0b6902bbbab01718ecdd2b
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true require_relative "base_mapper" require_relative "hierarchical_part" module LocMods class CitySection < BaseMapper attribute :content, HierarchicalPart attribute :city_section_type, Shale::Type::Value 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.4 | lib/loc_mods/city_section.rb |
loc_mods-0.2.3 | lib/loc_mods/city_section.rb |
loc_mods-0.2.2 | lib/loc_mods/city_section.rb |