Class
Jabber::VCard
In: jabber4r/vcard.rb
Parent: Object

The VCard class holds the parsed VCard data from the Jabber service.

Methods

from_element, to_s,
Attributes

 [RW]  :email
 [RW]  :family
 [RW]  :given
 [RW]  :middle
 [RW]  :nickname
Public Class methods
from_element(je) src

Factory to create the VCard from the ParsedXMLElement

je:[ParsedXMLElement] The VCard as an xml element.
return:[Jabber::VCard] The newly created VCard.
Public Instance methods
to_s() src

Dumps the attributes of the VCard

return:[String] The VCard as a string. #