Sha256: ef32d09f3099748a1bd65d27ac47a5ebcd6435d149b3fc6d1aa3fd061188ac6d
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "role_term" module LocMods class Role < Lutaml::Model::Serializable attribute :role_term, RoleTerm, collection: true xml do root "role" namespace "http://www.loc.gov/mods/v3", nil map_element "roleTerm", to: :role_term end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.5 | lib/loc_mods/role.rb |