Sha256: dddfad2523178cb8cfa36ed510517f2f7df2aed9022e739a79aa132099d0ae8a

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class Front < Lutaml::Model::Serializable
      attribute :id, :string
      attribute :journal_meta, JournalMeta
      attribute :article_meta, ArticleMeta
      attribute :notes, Notes

      xml do
        root "front"

        map_attribute "id", to: :id
        map_element "journal-meta", to: :journal_meta
        map_element "article-meta", to: :article_meta
        map_element "notes", to: :notes
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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