Class: Backgrounded::Resque::PseudoResqueHandler
- Inherits:
-
Object
- Object
- Backgrounded::Resque::PseudoResqueHandler
- Defined in:
- lib/backgrounded-resque/pseudo_resque_handler.rb
Instance Method Summary collapse
Instance Method Details
#request(object, method, args, options = {}) ⇒ Object
9 10 11 12 |
# File 'lib/backgrounded-resque/pseudo_resque_handler.rb', line 9 def request(object, method, args, ={}) marshalled_args = ::Resque.decode(::Resque.encode(args)) object.send method, *marshalled_args end |