Sha256: 50c7124a8a292bca1fd8e4f697ed8c47b6c129860d88a1ec21e05852a2b1d83f

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require "lutaml/model"

module Reqif
  class AttributeValueDate < Lutaml::Model::Serializable
    attribute :the_value, :time
    attribute :definition, Definition

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