Sha256: 123c30085aa630a7caa998c10c2b09a9f7e243f2f27ae4ab66a509a264851b42
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true require "lutaml/model" require_relative "address" require_relative "organization" module Rfcxml module V3 class Author < Lutaml::Model::Serializable attribute :anchor, :string attribute :initials, :string attribute :ascii_initials, :string attribute :surname, :string attribute :ascii_surname, :string attribute :fullname, :string attribute :role, :string attribute :ascii_fullname, :string attribute :organization, Organization attribute :address, Address xml do root "author" 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 "role", to: :role 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/author.rb |