lib/backgrounded/handler/inprocess_handler.rb in backgrounded-2.0.0.pre2 vs lib/backgrounded/handler/inprocess_handler.rb in backgrounded-2.0.0.rc1
- old
+ new
@@ -1,9 +1,11 @@
+require 'backgrounded/handler/abstract_handler'
+
module Backgrounded
module Handler
#simple handler to process synchronously and not actually in the background
#useful for testing
- class InprocessHandler
+ class InprocessHandler < AbstractHandler
def request(object, method, args, options={})
object.send method, *args
end
end
end