Sha256: c00b049f4140f24aafb7163475c340fea53a0db5013330c33871adbafa342df7

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

require_relative "base_mapper"

require_relative "copy_information"

module LocMods
  class HoldingSimple < BaseMapper
    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

3 entries across 3 versions & 1 rubygems

Version Path
loc_mods-0.2.4 lib/loc_mods/holding_simple.rb
loc_mods-0.2.3 lib/loc_mods/holding_simple.rb
loc_mods-0.2.2 lib/loc_mods/holding_simple.rb