class Jabber::PubSub::Retract

Retract

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

Public Instance Methods

items() click to toggle source

Get <item/> children

# File lib/xmpp4r/pubsub/children/retract.rb, line 31
def items
  res = []
  each_element('item') { |item|
    res << item
  }
  res
end
node() click to toggle source

get the node for this retraction

# File lib/xmpp4r/pubsub/children/retract.rb, line 19
def node
  attributes['node']
end
node=(s) click to toggle source

set the node for this retraction

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