Class: Jabber::PubSub::NodeConfig
- Inherits:
-
Configuration
- Object
- REXML::Element
- XMPPElement
- Configuration
- Jabber::PubSub::NodeConfig
- Defined in:
- lib/xmpp4r/pubsub/children/node_config.rb
Overview
NodeConfig
A <configure> XMPP element for pubsub nodes, see example 123 in www.xmpp.org/extensions/xep-0060.html#owner-create-and-configure
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(node = nil, options = nil) ⇒ NodeConfig
constructor
Construct a <configure> element.
Methods inherited from Configuration
#form, #form=, #node, #node=, #options, #options=
Methods inherited from XMPPElement
class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=
Methods inherited from REXML::Element
#==, #delete_elements, #each_elements, #first_element, #first_element_content, #first_element_text, #import, import, #replace_element_content, #replace_element_text, #typed_add
Constructor Details
#initialize(node = nil, options = nil) ⇒ NodeConfig
Construct a <configure> element.
- node
- String
-
the node to configure
- options
- Hash
-
the configuration to apply
22 23 24 25 26 27 |
# File 'lib/xmpp4r/pubsub/children/node_config.rb', line 22 def initialize(node = nil, = nil) super() self.node = node self. = end |