Class: Blather::Stanza::Disco
- Inherits:
-
Iq::Query
- Object
- Nokogiri::XML::Node
- XMPPNode
- Blather::Stanza
- Iq
- Iq::Query
- Blather::Stanza::Disco
- Defined in:
- lib/blather/stanza/disco.rb
Overview
# Disco Base class
Use Blather::Stanza::DiscoInfo or Blather::Stanza::DiscoItems
Direct Known Subclasses
Constant Summary
Constants inherited from Iq
Constants inherited from XMPPNode
Instance Method Summary collapse
-
#node ⇒ String
Get the name of the node.
-
#node=(node) ⇒ Object
Set the name of the node.
Methods inherited from Iq::Query
Methods inherited from Iq
#error?, #get?, import, new, #reply!, #result?, #set?, #type=
Methods inherited from Blather::Stanza
#as_error, #error?, #from, #from=, handler_list, #id, #id=, next_id, register, #reply, #reply!, #to, #to=, #type, #type=
Methods inherited from XMPPNode
class_from_registration, #content_from, import, #inherit, #inherit_attrs, #inspect, #namespace=, #namespace_href, new, #nokogiri_namespace=, #read_attr, #read_content, register, #remove_child, #remove_children, #set_content_for, #to_stanza, #write_attr
Methods inherited from Nokogiri::XML::Node
#[]=, #attr_set, #find_first, #nokogiri_xpath, #xpath
Instance Method Details
#node ⇒ String
Get the name of the node
12 13 14 |
# File 'lib/blather/stanza/disco.rb', line 12 def node query[:node] end |
#node=(node) ⇒ Object
Set the name of the node
19 20 21 |
# File 'lib/blather/stanza/disco.rb', line 19 def node=(node) query[:node] = node end |