Sha256: 73f12cf64be0083c04af9e95d22a8f9be912ba3a51d6f0e1048983ab7dbc48ce

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

require "lutaml/model"

module Reqif
  class AttributeValueBoolean < Lutaml::Model::Serializable
    attribute :the_value, :boolean
    attribute :definition, Definition

    xml do
      root "ATTRIBUTE-VALUE-BOOLEAN"
      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_boolean.rb