Sha256: e1c83282697d8174242d7c3d84dce0f36393c9d561cda8704a59aa0a5b1a77a5
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
# frozen_string_literal: true require_relative "base_mapper" module LocMods class ItemIdentifier < BaseMapper attribute :content, Shale::Type::String attribute :type, Shale::Type::String xml do root "itemIdentifier" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "type", to: :type end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.4 | lib/loc_mods/item_identifier.rb |
loc_mods-0.2.3 | lib/loc_mods/item_identifier.rb |
loc_mods-0.2.2 | lib/loc_mods/item_identifier.rb |