class Payola::Worker::SuckerPunch

Public Class Methods

call(klass, *args) click to toggle source
# File lib/payola/worker/sucker_punch.rb, line 15
def self.call(klass, *args)
  new.async.perform(klass.to_s, *args)
end
can_run?() click to toggle source
# File lib/payola/worker/sucker_punch.rb, line 11
def self.can_run?
  defined?(::SuckerPunch::Job)
end