class

XMPP::Stanza::VCard

Inherits XMPP::Stanza::IQPayload / XMPP::Stanza::Extension / XMPP::Stanza::Packet / Reference / Object

XEP-0054: vcard-temp.

The vCard data model for temporary vCard data, exchanged as an IQ payload against a user's bare JID. Supports the common textual fields (FN, NICKNAME, BDAY, URL, NOTE) plus the structured N, ORG and PHOTO elements and EMAIL/TEL collections.

Constructors

new(xml : String)
Source
new(node : XML::Node)
Source

Class methods

xml_name
Source

Instance methods

bday
Source
bday=(bday : String)
Source
emails
Source
emails=(emails : Array(Email))
Source
fn=(fn : String)
Source
n=(n : N | Nil)
Source
name
Source
namespace
Source
nickname
Source
nickname=(nickname : String)
Source
note
Source
note=(note : String)
Source
org=(org : Org | Nil)
Source
photo
Source
photo=(photo : Photo | Nil)
Source
tels
Source
tels=(tels : Array(Telephone))
Source
to_xml(xml : XML::Builder)
Source
url=(url : String)
Source