Class: PerformLater::Workers::Objects::Worker

Inherits:
Base
  • Object
show all
Defined in:
lib/perform_later/workers/objects/worker.rb

Class Method Summary collapse

Class Method Details

.perform(klass_name, method, *args) ⇒ Object



5
6
7
8
9
# File 'lib/perform_later/workers/objects/worker.rb', line 5

def self.perform(klass_name, method, *args)
  arguments = PerformLater::ArgsParser.args_from_resque(args)

  perform_job(klass_name.constantize, method, arguments)
end