Class: Blather::Client::Job
- Inherits:
-
Object
- Object
- Blather::Client::Job
- Includes:
- SuckerPunch::Job
- Defined in:
- lib/blather/client/client.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.shutdown ⇒ Object
43 44 45 46 47 |
# File 'lib/blather/client/client.rb', line 43 def self.shutdown SuckerPunch::Queue.all.each do |queue| queue.shutdown if queue.name == to_s end end |
Instance Method Details
#perform(stanza) ⇒ Object
39 40 41 |
# File 'lib/blather/client/client.rb', line 39 def perform(stanza) client.handle_data stanza end |