Skip to content

Commit

Permalink
Hoptoad.configure wants a block. Fixes resque#304
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed May 26, 2011
1 parent 48ba258 commit 8e7c205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resque/failure/hoptoad.rb
Expand Up @@ -23,9 +23,9 @@ module Failure
# end
# For more information see https://github.com/thoughtbot/hoptoad_notifier
class Hoptoad < Base
def self.configure
def self.configure(&block)
Resque::Failure.backend = self
HoptoadNotifier.configure
HoptoadNotifier.configure(&block)
end

def self.count
Expand Down

0 comments on commit 8e7c205

Please sign in to comment.