Class: Jabber::PubSub::Publish

Inherits:
XMPPElement show all
Defined in:
lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/publish.rb

Overview

Publish

A <publish> XMPP element, see example 1 in www.xmpp.org/extensions/xep-0060.html#intro-howitworks

Instance Method Summary collapse

Methods inherited from XMPPElement

class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, #initialize, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=

Methods inherited from REXML::Element

#==, #delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add

Constructor Details

This class inherits a constructor from Jabber::XMPPElement

Instance Method Details

#nodeObject

return the node for this publication



19
20
21
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/publish.rb', line 19

def node
  attributes['node']
end