Sha256: 838ebe01d362934766c5c17f0c4a8b53e882520941fdd53566d340d3362f88a7

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # Article copyright information
    class ArticleCopyright < Lutaml::Model::Serializable
      # <articlecopyright holderisieee="Yes" year="0"/>

      attribute :holder_is_ieee, :string
      attribute :year, :integer

      xml do
        root "articlecopyright"

        map_attribute "holderisieee", to: :holder_is_ieee
        map_attribute "year", to: :year
      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_copyright.rb
ieee-idams-0.2.8 lib/ieee/idams/article_copyright.rb
ieee-idams-0.2.7 lib/ieee/idams/article_copyright.rb
ieee-idams-0.2.6 lib/ieee/idams/article_copyright.rb