rack-attack/lib/rack/attack/blocklist.rb
Renée Hendricksen e1a0c804e1 suggesting changing whitelist/blacklist language to less controversial safelist/blocklist language
add deprication warnings

fix the method signatures
2016-07-01 21:44:45 -04:00

11 lines
159 B
Ruby

module Rack
class Attack
class Blocklist < Check
def initialize(name, block)
super
@type = :blocklist
end
end
end
end