Sha256: 4a2f7aee1bf6ee590ed4a61f0b88620c0cf6f7270cbf420962dd07f3caa4048b
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class Url < Lutaml::Model::Serializable attribute :content, :string attribute :date_last_accessed, :string attribute :display_label, :string attribute :note, :string attribute :access, :string attribute :usage, :string xml do root "url" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "dateLastAccessed", to: :date_last_accessed map_attribute "displayLabel", to: :display_label map_attribute "note", to: :note map_attribute "access", to: :access map_attribute "usage", to: :usage end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.5 | lib/loc_mods/url.rb |