class Softwear::Library::Enqueue::Worker

Public Instance Methods

perform(model_name, id, method, *args) click to toggle source
# File lib/softwear/library/enqueue.rb, line 11
def perform(model_name, id, method, *args)
  model_name.constantize.find(id).send(method, *args)
end