Sha256: 82c6200d98fde159023cddf969e101c432a930e58bb8734071f0dc29c99f0007

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class Count < Lutaml::Model::Serializable
      attribute :count, :string
      attribute :count_type, :string
      attribute :id, :string

      xml do
        root "count"

        map_attribute "count", to: :count
        map_attribute "count-type", to: :count_type
        map_attribute "id", to: :id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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