Sha256: 92176d0cdd6b3e7d28735e59aa736e059098e8fbc3ac71f3352ac40e6b6e09b5

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "copy_information"

module LocMods
  class HoldingSimple < Lutaml::Model::Serializable
    attribute :copy_information, CopyInformation, collection: true

    xml do
      root "holdingSimple"
      namespace "http://www.loc.gov/mods/v3", nil

      map_element "copyInformation", to: :copy_information
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loc_mods-0.2.5 lib/loc_mods/holding_simple.rb