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