Sha256: 0e4ac7075b542a448380d5ed24f25895b946d996d2bc396ff132bbf3a680afc4

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

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

      xml do
        root "surname"

        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/surname.rb