lib/kthxbye/failure.rb in kthxbye-1.2.1 vs lib/kthxbye/failure.rb in kthxbye-1.3.0
- old
+ new
@@ -56,7 +56,11 @@
# the only method allowed to clear exceptions out of the exception store
def self.clear_exception(id)
redis.hdel( :failed, id )
end
+ def self.clear_all
+ redis.del( :failed )
+ end
+
end
end