Sha256: b83eed2d063ab8b1e7638240f3f34888e4e77db9f234598cd0d493b6e44b0931

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

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

      xml do
        root "pobox"

        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/pobox.rb