Sha256: 73a305651a693d4840ab646cbe20c0edf2e0907224f3e82413f71805d1427efa

Contents?: true

Size: 343 Bytes

Versions: 6

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

module Ieee
  module Idams
    # ICS code with term
    class IcsCodeTerm < Lutaml::Model::Serializable
      attribute :codenum, :string
      attribute :name, :string

      xml do
        root "code_term"
        map_attribute "codenum", to: :codenum
        map_content to: :name
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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