Class: Rack::Attack::Blocklist

Inherits:
Check
  • Object
show all
Defined in:
lib/rack/attack/blocklist.rb

Instance Attribute Summary

Attributes inherited from Check

#block, #name, #type

Instance Method Summary collapse

Methods inherited from Check

#[]

Constructor Details

#initialize(name, block) ⇒ Blocklist

Returns a new instance of Blocklist.



4
5
6
7
# File 'lib/rack/attack/blocklist.rb', line 4

def initialize(name, block)
  super
  @type = :blocklist
end