rack-attack/lib/rack/attack/whitelist.rb
2012-07-27 17:40:11 -04:00

12 lines
185 B
Ruby

require_relative 'check'
module Rack
module Attack
class Whitelist < Check
def initialize(name, block)
super
@type = :whitelist
end
end
end
end