XMPP::Stanza::Mood
Inherits XMPP::Stanza::MsgExtension / XMPP::Stanza::Extension / XMPP::Stanza::Packet / Reference / Object
Mood defines data model for XEP-0107 - User Mood See: https://xmpp.org/extensions/xep-0107.html
Constants
VALID_MOODS = {"afraid", "amazed", "angry", "amorous", "annoyed", "anxious", "aroused", "ashamed", "bored", "brave", "calm", "cautious", "cold", "confident", "confused", "contemplative", "contented", "cranky", "crazy", "creative", "curious", "dejected", "depressed", "disappointed", "disgusted", "dismayed", "distracted", "embarrassed", "envious", "excited", "flirtatious", "frustrated", "grateful", "grieving", "grumpy", "guilty", "happy", "hopeful", "hot", "humbled", "humiliated", "hungry", "hurt", "impressed", "in_awe", "in_love", "indignant", "interested", "intoxicated", "invincible", "jealous", "lonely", "lost", "lucky", "mean", "moody", "nervous", "neutral", "offended", "outraged", "playful", "proud", "relaxed", "relieved", "remorseful", "restless", "sad", "sarcastic", "satisfied", "serious", "shocked", "shy", "sick", "sleepy", "spontaneous", "stressed", "strong", "surprised", "thankful", "thirsty", "tired", "undefined", "weak", "worried"}
Predefined mood types from XEP-0107
Constructors
Class methods
xml_name
SourceInstance methods
name
Sourcetext
Sourceto_xml(xml : XML::Builder)
Sourcevalue
Source