Sha256: e5440f1a4303b1b16b0d3f7210abcaa4e84c77fafa10d54307553c7a900d5d6f

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

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

      xml do
        root "phone"

        map_content to: :content
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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