class SuckerPunch::Backgroundable::Job

Public Instance Methods

perform(receiver, method, args, options) click to toggle source
# File lib/sucker_punch/backgroundable/job.rb, line 36
def perform(receiver, method, args, options)
  receiver = load(receiver) if instantiate?(options)
  call(receiver, method, *args)
end