From 514416857226b3f13d7bf0797be8356269e3f433 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Tue, 17 May 2011 11:42:39 -0700 Subject: [PATCH] return of Resque::Failure::Hoptoad.configure --- lib/resque/failure/hoptoad.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/resque/failure/hoptoad.rb b/lib/resque/failure/hoptoad.rb index a65c61789..e6e9c1b5a 100644 --- a/lib/resque/failure/hoptoad.rb +++ b/lib/resque/failure/hoptoad.rb @@ -23,6 +23,10 @@ module Failure # end # For more information see https://github.com/thoughtbot/hoptoad_notifier class Hoptoad < Base + def self.configure + Resque::Failure.backend = self + HoptoadNotifier.configure + end def self.count # We can't get the total # of errors from Hoptoad so we fake it