Sha256: 12c3d1f4546b07078491c5810ee1611adb9d35ec6c3fd920924ef7b1ff0e4a73
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "address" require_relative "organization" module Rfcxml module V3 class Contact < Lutaml::Model::Serializable attribute :anchor, :string attribute :initials, :string attribute :ascii_initials, :string attribute :surname, :string attribute :ascii_surname, :string attribute :fullname, :string attribute :ascii_fullname, :string attribute :organization, Organization attribute :address, Address xml do root "contact" map_attribute "anchor", to: :anchor map_attribute "initials", to: :initials map_attribute "asciiInitials", to: :ascii_initials map_attribute "surname", to: :surname map_attribute "asciiSurname", to: :ascii_surname map_attribute "fullname", to: :fullname map_attribute "asciiFullname", to: :ascii_fullname map_element "organization", to: :organization map_element "address", to: :address end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfcxml-0.2.0 | lib/rfcxml/v3/contact.rb |