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