Sha256: a47441cad6f1d3873f645970fd83c943cbd744549e8de3d96445491a09610d5b

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

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

      xml do
        root "country"

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