class Blather::Client::Job

Public Class Methods

shutdown() click to toggle source
# 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

Public Instance Methods

perform(stanza) click to toggle source
# File lib/blather/client/client.rb, line 39
def perform(stanza)
  client.handle_data stanza
end