mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
docs: correct instrumentation example
This commit is contained in:
parent
9e90b20122
commit
b1558d022f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
|||
ActiveSupport::Notifications.subscribe('rack.attack') do |name, start, finish, request_id, req|
|
||||
puts req.inspect
|
||||
ActiveSupport::Notifications.subscribe('rack.attack') do |name, start, finish, request_id, payload|
|
||||
puts payload[:request].inspect
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue