Sha256: 917afbf6d6693f2821c7bec7de9be3daa73fecb38a39c6c425f6b3d4e101549a

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # Article page nums
    class ArticlePageNums < Lutaml::Model::Serializable
      # <artpagenums endpage="28" startpage="1">1-28</artpagenums>

      attribute :endpage, :string
      attribute :startpage, :string
      attribute :formatted, :string

      xml do
        root "artpagenums"

        map_attribute "endpage", to: :endpage
        map_attribute "startpage", to: :startpage
        map_content to: :formatted
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ieee-idams-0.2.9 lib/ieee/idams/article_page_nums.rb
ieee-idams-0.2.8 lib/ieee/idams/article_page_nums.rb
ieee-idams-0.2.7 lib/ieee/idams/article_page_nums.rb
ieee-idams-0.2.6 lib/ieee/idams/article_page_nums.rb