Class: Rack::Attack::Safelist

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

Instance Attribute Summary

Attributes inherited from Check

#block, #name, #type

Instance Method Summary collapse

Methods inherited from Check

#matched_by?

Constructor Details

#initialize(name = nil, &block) ⇒ Safelist

Returns a new instance of Safelist.


6
7
8
9
# File 'lib/rack/attack/safelist.rb', line 6

def initialize(name = nil, &block)
  super
  @type = :safelist
end