Sha256: 53302bbd31d1f6a609da9216094b4d20b86f249578e3e1e263abae1527f2650e
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "dl" require_relative "ol" require_relative "text" require_relative "ul" module Rfcxml module V3 class Abstract < Lutaml::Model::Serializable attribute :anchor, :string attribute :pn, :string attribute :dl, Dl, collection: true attribute :ol, Ol, collection: true attribute :t, Text, collection: true attribute :ul, Ul, collection: true xml do root "abstract" map_attribute "anchor", to: :anchor map_attribute "pn", to: :pn map_element "dl", to: :dl map_element "ol", to: :ol map_element "t", to: :t map_element "ul", to: :ul end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfcxml-0.2.0 | lib/rfcxml/v3/abstract.rb |