Skip to content

Commit 5144168

Browse files
committed
return of Resque::Failure::Hoptoad.configure
1 parent 8105c67 commit 5144168

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/resque/failure/hoptoad.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ module Failure
2323
# end
2424
# For more information see https://github.com/thoughtbot/hoptoad_notifier
2525
class Hoptoad < Base
26+
def self.configure
27+
Resque::Failure.backend = self
28+
HoptoadNotifier.configure
29+
end
2630

2731
def self.count
2832
# We can't get the total # of errors from Hoptoad so we fake it

0 commit comments

Comments
 (0)