Sha256: 40b9eade9c21accf4ca564e44258eb57499a3f63816b69766a101f7157f6846a

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

require "lutaml/model"

module Reqif
  class EmbeddedValue < Lutaml::Model::Serializable
    attribute :key, :integer
    attribute :other_content, :string

    xml do
      root "EMBEDDED-VALUE"
      namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"

      map_attribute "KEY", to: :key
      map_attribute "OTHER-CONTENT", to: :other_content
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reqif-0.1.0 lib/reqif/embedded_value.rb