Sha256: e88aa99d9f7b1a79b0d563d70524c8e6f26f2cc034fd5b59107c19dbcc29d22c
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
module Blather class Client class PubSub class Node attr_accessor :path def initialize(path) @path = path end def info(&block) DSL.client.write_with_handler Stanza::DiscoInfo.new(:get, path), &block end def items(&block) DSL.client.write_with_handler Stanza::PubSub.items(path), &block end def nodes(&block) DSL.client.write_with_handler Stanza::DiscoItems.new(:get, path), &block end end end #PubSub end #Client end #Blather
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blather-0.2.2 | lib/blather/client/pubsub/node.rb |