Sha256: 448b95958462c4576977508895b2057e78129499ae38583a96b0b48cee3c4656

Contents?: true

Size: 462 Bytes

Versions: 4

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # Represents a keyword
    class Keyword < Lutaml::Model::Serializable
      # Keyword term
      # @return [String] keyword text
      attribute :keywordterm, :string
      attribute :keywordmodifier, :string

      xml do
        root "keyword"
        map_element "keywordterm", to: :keywordterm, cdata: true
        map_element "keywordmodifier", to: :keywordmodifier
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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