Sha256: 546926f04afb6b8acc114d5e6a5b1ece16e17d8867d30a26345b563b44cd6ec4

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "reference"

module Rfcxml
  module V3
    class Referencegroup < Lutaml::Model::Serializable
      attribute :anchor, :string
      attribute :derived_anchor, :string
      attribute :target, :string
      attribute :reference, Reference, collection: true

      xml do
        root "referencegroup"

        map_attribute "anchor", to: :anchor
        map_attribute "derivedAnchor", to: :derived_anchor
        map_attribute "target", to: :target
        map_element "reference", to: :reference
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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