Class: Xrechnung::Contact
Instance Attribute Summary collapse
Instance Method Summary
collapse
#[], #[]=, included, #initialize
Instance Attribute Details
#electronic_mail ⇒ String
15
|
# File 'lib/xrechnung/contact.rb', line 15
member :electronic_mail, type: String
|
#name ⇒ String
7
|
# File 'lib/xrechnung/contact.rb', line 7
member :name, type: String
|
#telephone ⇒ String
11
|
# File 'lib/xrechnung/contact.rb', line 11
member :telephone, type: String
|
Instance Method Details
#to_xml(xml) ⇒ Object
18
19
20
21
22
23
24
|
# File 'lib/xrechnung/contact.rb', line 18
def to_xml(xml)
xml.cac :Contact do
xml.cbc :Name, name
xml.cbc :Telephone, telephone
xml.cbc :ElectronicMail, electronic_mail
end
end
|