Sha256: 7a69fb8781a23737e2c4aebb40b481507f5099550eedd17985848ae295d04e1e
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class ScriptTerm < Lutaml::Model::Serializable attribute :content, :string attribute :type, :string xml do root "scriptTerm" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content 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/script_term.rb |