mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
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 `#[]`. |
||
|---|---|---|
| .. | ||
| attack | ||
| attack.rb | ||