class

XMPP::Stanza::PublishOptions

Inherits Reference / Object

PublishOptions implements the publish-options element of XEP-0410 - PubSub Publish Options. It is sent alongside a publish to configure the node via a jabber:x:data form (typically the pubsub#access_model field).

Constructors

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

Class methods

xml_name
Source

Instance methods

form
Source
form=(form : XData | Nil)
Source
to_xml(xml : XML::Builder)
Source