Sha256: 422cfa4ac84cd4eaa010184bf402bf498dd6bdb188ed5ce4acd775c90b4cb5cf
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class PlaceTerm < Lutaml::Model::Serializable attribute :content, :string attribute :authority_uri, :string attribute :value_uri, :string attribute :authority, :string attribute :type, :string xml do root "placeTerm" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "authorityURI", to: :authority_uri map_attribute "valueURI", to: :value_uri map_attribute "authority", to: :authority 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/place_term.rb |