Class: Collecta::Archive

Inherits:
Blather::Stanza::PubSub::Items
  • Object
show all
Includes:
Pubsub
Defined in:
lib/collecta/archive.rb

Constant Summary

Constants included from Pubsub

Pubsub::DATA_NS

Class Method Summary collapse

Methods included from Pubsub

#apikey, #apikey=, #notify, #notify=, #query, #query=

Class Method Details

.new(apikey, search) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/collecta/archive.rb', line 4

def self.new(apikey, search)
  new_node = super :get, COLLECTA_JID
  new_node.node = NODE
  new_node.apikey = apikey
  new_node.query = search
  new_node
end