Method: Blather::DSL::PubSub#node
- Defined in:
- lib/blather/client/dsl/pubsub.rb
#node(path, host = nil) {|Blather::Stanza::DiscoInfo| ... } ⇒ Object
Discover node information
51 52 53 54 55 |
# File 'lib/blather/client/dsl/pubsub.rb', line 51 def node(path, host = nil, &callback) stanza = Stanza::DiscoInfo.new(:get, path) stanza.to = send_to(host) request stanza, nil, callback end |