class XMPP::Stanza::Mood

Overview

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

Defined in:

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) #

Class Method Detail

def self.xml_name : XMLName #

Instance Method Detail

def name : String #

def text : String #

def text=(text : String) #

def to_xml(elem : XML::Builder) #

def value : String #

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


def value=(value : String) #

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