mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-27 15:07:41 +00:00
style: fix indentation
This commit is contained in:
parent
a67a7bfdeb
commit
20fdab0c50
1 changed files with 18 additions and 3 deletions
|
|
@ -55,9 +55,24 @@ module Rack
|
||||||
end
|
end
|
||||||
|
|
||||||
extend Forwardable
|
extend Forwardable
|
||||||
def_delegators :@configuration, :safelist, :blocklist, :blocklist_ip, :safelist_ip, :throttle, :track,
|
def_delegators(
|
||||||
:blocklisted_response, :blocklisted_response=, :throttled_response, :throttled_response=,
|
:@configuration,
|
||||||
:clear_configuration, :safelists, :blocklists, :throttles, :tracks
|
:safelist,
|
||||||
|
:blocklist,
|
||||||
|
:blocklist_ip,
|
||||||
|
:safelist_ip,
|
||||||
|
:throttle,
|
||||||
|
:track,
|
||||||
|
:blocklisted_response,
|
||||||
|
:blocklisted_response=,
|
||||||
|
:throttled_response,
|
||||||
|
:throttled_response=,
|
||||||
|
:clear_configuration,
|
||||||
|
:safelists,
|
||||||
|
:blocklists,
|
||||||
|
:throttles,
|
||||||
|
:tracks
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Set defaults
|
# Set defaults
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue