Class: Backgrounded::Handler::WorklingHandler::BackgroundedWorker

Inherits:
Workling::Base
  • Object
show all
Defined in:
lib/backgrounded/handler/workling_handler.rb

Instance Method Summary collapse

Instance Method Details

#perform(options = {}) ⇒ Object



3
4
5
# File 'lib/backgrounded/handler/workling_handler.rb', line 3

def perform(options = {})
  find_instance(options[:class], options[:id], options[:method]).send(options[:method], *options[:params])
end