Sha256: bd13ead64358415c81e96a4e729bdd8d53f570249f7a6b7e7d24d427805628b6

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class GivenNames < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :id, :string
      attribute :initials, :string

      xml do
        root "given-names"

        map_content to: :content
        map_attribute "id", to: :id
        map_attribute "initials", to: :initials
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/given_names.rb