From 4d201f7e425f99a0c1f0956fbcc935614d695308 Mon Sep 17 00:00:00 2001 From: Maksim Abramchuk Date: Sat, 3 Sep 2022 22:37:52 +0100 Subject: [PATCH] Update example description to not suggest using a deprecated method. (#589) --- docs/example_configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/example_configuration.md b/docs/example_configuration.md index b30a4ab..cfe7758 100644 --- a/docs/example_configuration.md +++ b/docs/example_configuration.md @@ -75,7 +75,7 @@ class Rack::Attack # If you want to return 503 so that the attacker might be fooled into # believing that they've successfully broken your app (or you just want to # customize the response), then uncomment these lines. - # self.throttled_response = lambda do |env| + # self.throttled_responder = lambda do |env| # [ 503, # status # {}, # headers # ['']] # body