class XMPP::Stanza::Mood

Overview

Mood defines deta model for XEP-0107 - User Mood See: https://xmpp.org/extensions/xep-0107.html

Defined in:

xmpp/stanza/pep.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module XMPP::Stanza::Packet

name : String name, to_xml(xml : XML::Builder)
to_xml : String
to_xml

Constructor Detail

def self.new(node : XML::Node) #

[View source]

Class Method Detail

def self.xml_name : XMLName #

[View source]

Instance Method Detail

def name : String #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def to_xml(elem : XML::Builder) #

[View source]
def value : String #

TODO Custom parsing to extract mood type from tag name. Note: the list is predefined.


[View source]
def value=(value : String) #

TODO Custom parsing to extract mood type from tag name. Note: the list is predefined.


[View source]