Sha256: 3d3167c26a8ceb8e447c2dba38686d131b6f07b3228280cc7bc0c9bc86c58035

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module LocMods
  # LocMods::StringPlusLanguagePlusSupplied
  class Edition < Lutaml::Model::Serializable
    attribute :content, :string
    attribute :supplied, :string

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

      map_content to: :content
      map_attribute "supplied", to: :supplied
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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