Sha256: 86dc970d1901ad3547872324046b8887cec30ffd440241c46551a94f15bb5a9f
Contents?: true
Size: 614 Bytes
Versions: 3
Compression:
Stored size: 614 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class LanguageTerm < Lutaml::Model::Serializable attribute :content, :string attribute :authority_uri, :string attribute :value_uri, :string attribute :authority, :string attribute :type, :string xml do root "languageTerm" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.7 | lib/loc_mods/language_term.rb |
loc_mods-0.2.6 | lib/loc_mods/language_term.rb |
loc_mods-0.2.5 | lib/loc_mods/language_term.rb |