Sha256: 697bb8870397cc30e04ffb653e57c613282f4e27b379d0681d23597d432ca239

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

require "lutaml/model"

module Reqif
  class AttributeValueString < Lutaml::Model::Serializable
    attribute :the_value, :string
    attribute :definition, Definition

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

      map_attribute "THE-VALUE", to: :the_value
      map_element "DEFINITION", to: :definition
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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