Sha256: 41e2a5b879597d1c406b6f425edc8134457ad85f798b26666011335ea68198e5

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # Publication ID acronym
    class PublicationAcronym < Lutaml::Model::Serializable
      # Type of acronym
      # @return [String]
      attribute :type, :string

      # Acronym value
      # @return [String]
      attribute :value, :string

      xml do
        root "acronym"
        map_attribute "acronymtype", to: :type
        map_content to: :value
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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