Sha256: f151ab8fe51de59e242c0f4a66c9ec6a05685be34e8a9c9e708bc557e954266e

Contents?: true

Size: 812 Bytes

Versions: 1

Compression:

Stored size: 812 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "cref"
require_relative "eref"
require_relative "iref"
require_relative "spanx"
require_relative "xref"

module Rfcxml
  module V3
    class Postamble < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :cref, Cref, collection: true
      attribute :eref, Eref, collection: true
      attribute :iref, Iref, collection: true
      attribute :spanx, Spanx, collection: true
      attribute :xref, Xref, collection: true

      xml do
        root "postamble"

        map_content to: :content
        map_element "cref", to: :cref
        map_element "eref", to: :eref
        map_element "iref", to: :iref
        map_element "spanx", to: :spanx
        map_element "xref", to: :xref
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rfcxml-0.2.0 lib/rfcxml/v3/postamble.rb