Sha256: 08e6251ef805cd3d300d09875ad8dece1cdab0409cb55b59355cbf86c9ff28dc

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Rfcxml
  module V3
    class Region < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :ascii, :string

      xml do
        root "region"

        map_content to: :content
        map_attribute "ascii", to: :ascii
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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