Class Jabber::PubSub::Retract
In: lib/xmpp4r/pubsub/children/retract.rb
Parent: XMPPElement

Retract

A <retract> XMPP element, see example 103 in xmpp.org/extensions/xep-0060.html#publisher-delete

Methods

items   node   node=  

Public Instance methods

Get <item/> children

[Source]

    # File lib/xmpp4r/pubsub/children/retract.rb, line 31
31:       def items
32:         res = []
33:         each_element('item') { |item|
34:           res << item
35:         }
36:         res
37:       end

get the node for this retraction

[Source]

    # File lib/xmpp4r/pubsub/children/retract.rb, line 19
19:       def node
20:         attributes['node']
21:       end

set the node for this retraction

[Source]

    # File lib/xmpp4r/pubsub/children/retract.rb, line 25
25:       def node=(s)
26:         attributes['node'] = s
27:       end

[Validate]