Sha256: 53abedb7d7f0df4313d3392d6257a93c7b8378b2e01879f8aaefaea572588a7d

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class CopyrightYear < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :content_type, :string
      attribute :id, :string
      attribute :specific_use, :string

      xml do
        root "copyright-year"

        map_content to: :content
        map_attribute "content-type", to: :content_type
        map_attribute "id", to: :id
        map_attribute "specific-use", to: :specific_use
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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