Class: Backgrounded::Handler::InprocessHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/backgrounded/handler/inprocess_handler.rb

Overview

simple handler to process synchronously and not actually in the background useful for testing

Instance Method Summary collapse

Instance Method Details

#request(object, method, args, options = {}) ⇒ Object



6
7
8
# File 'lib/backgrounded/handler/inprocess_handler.rb', line 6

def request(object, method, args, options={})
  object.send method, *args
end