Sha256: f406e2019275c40436522d8da19830fc777121c8b7fa97d3735701ee8ecbbb64
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class GeographicCode < Lutaml::Model::Serializable attribute :content, :string attribute :authority_uri, :string attribute :value_uri, :string attribute :authority, :string xml do root "geographicCode" 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.5 | lib/loc_mods/geographic_code.rb |