Sha256: 8b8704860dfb803458cc79d4e6918356afe70ff4ee95ab8712e30891eb85fe87

Contents?: true

Size: 531 Bytes

Versions: 6

Compression:

Stored size: 531 Bytes

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # Article file name
    class ArticleFilename < Lutaml::Model::Serializable
      # <filename docpartition="4" filetype="MainPDF">00000003.pdf</filename>

      attribute :docpartition, :string
      attribute :filetype, :string
      attribute :filename, :string

      xml do
        root "filename"

        map_attribute "docpartition", to: :docpartition
        map_attribute "filetype", to: :filetype
        map_content to: :filename
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ieee-idams-0.2.11 lib/ieee/idams/article_filename.rb
ieee-idams-0.2.10 lib/ieee/idams/article_filename.rb
ieee-idams-0.2.9 lib/ieee/idams/article_filename.rb
ieee-idams-0.2.8 lib/ieee/idams/article_filename.rb
ieee-idams-0.2.7 lib/ieee/idams/article_filename.rb
ieee-idams-0.2.6 lib/ieee/idams/article_filename.rb