Sha256: 689f347fdaad18d0d3655ff614e5a9929ac1769b910edfa6c95a430911901e3e

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

require "lutaml/model"

module Reqif
  class ReqIf < Lutaml::Model::Serializable
    attribute :the_header, TheHeader
    attribute :core_content, CoreContent
    attribute :tool_extensions, ToolExtensions

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

      map_element "THE-HEADER", to: :the_header
      map_element "CORE-CONTENT", to: :core_content
      map_element "TOOL-EXTENSIONS", to: :tool_extensions
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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