Sha256: 94676128951020dd41ea0b84f42ff519f9de35c036f0b35856675930a39d4ad5

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

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

      xml do
        root "word-count"

        map_attribute "count", to: :count
        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/word_count.rb