Class: Rack::Attack::Blocklist
- Defined in:
- lib/rack/attack/blocklist.rb
Instance Attribute Summary
Attributes inherited from Check
Instance Method Summary collapse
-
#initialize(name = nil, &block) ⇒ Blocklist
constructor
A new instance of Blocklist.
Methods inherited from Check
Constructor Details
#initialize(name = nil, &block) ⇒ Blocklist
Returns a new instance of Blocklist.
6 7 8 9 |
# File 'lib/rack/attack/blocklist.rb', line 6 def initialize(name = nil, &block) super @type = :blocklist end |