An <options> XMPP element, see example 57 in www.xmpp.org/extensions/xep-0060.html#subscriber-configure-success
Construct a new Options stanza
node |
|
jid |
|
options |
|
subid |
|
# File lib/xmpp4r/pubsub/children/subscription_config.rb, line 25 def initialize(node = nil, jid = nil, options = nil, subid = nil) super() self.node = node self.jid = jid self.options = options self.subid = subid end
get the 'jid' attribute for this stanza
# File lib/xmpp4r/pubsub/children/subscription_config.rb, line 43 def jid attributes['jid'] ? Jabber::JID.new(attributes['jid']) : nil end
set the 'jid' attribute of this stanza
jid |
|
# File lib/xmpp4r/pubsub/children/subscription_config.rb, line 37 def jid=(jid) attributes['jid'] = jid.to_s end
Generated with the Darkfish Rdoc Generator 2.