Module: Rack::Attack::InspectWithOptions
- Included in:
- InstantiableFail2Ban, Throttle
- Defined in:
- lib/rack/attack_extensions.rb
Instance Method Summary collapse
-
#inspect_with_options ⇒ Object
throttle(‘req/ip’, limit: 300, period: 1.minute).
- #options ⇒ Object
Instance Method Details
#inspect_with_options ⇒ Object
throttle(‘req/ip’, limit: 300, period: 1.minute)
212 213 214 |
# File 'lib/rack/attack_extensions.rb', line 212 def "#{type}('#{name}', #{.inspect})" end |
#options ⇒ Object
207 208 209 |
# File 'lib/rack/attack_extensions.rb', line 207 def {} end |