Class: Collecta::Subscribe
- Inherits:
-
Blather::Stanza::PubSub::Subscribe
- Object
- Blather::Stanza::PubSub::Subscribe
- Collecta::Subscribe
- Includes:
- Pubsub
- Defined in:
- lib/collecta/subscribe.rb
Constant Summary
Constants included from Pubsub
Class Method Summary collapse
Methods included from Pubsub
#apikey, #apikey=, #notify, #notify=, #query, #query=
Class Method Details
.new(apikey, query = nil, notify = nil) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/collecta/subscribe.rb', line 4 def self.new(apikey, query = nil, notify = nil) new_node = super :set, COLLECTA_JID, NODE new_node.apikey = apikey new_node.query = query new_node.notify = notify if notify new_node end |