rack-attack/lib/rack
Genadi Samokovarov a161176142 Invoke {blacklisted,throttled}_response with #call
I have a response which is a class. While I can still have my class
implement `#[]`, it does look a bit off. On the other side, having
objects, responding to #call, that are not procs is pretty common.

So I propose to invoke the responses with `#call` to let users override
it with response objects, that respond to `#call` instead of `#[]`.
2014-09-25 23:21:02 +02:00
..
attack version 4.1.1 2014-09-08 21:34:28 -04:00
attack.rb Invoke {blacklisted,throttled}_response with #call 2014-09-25 23:21:02 +02:00