Module: WaitAMinute
- Defined in:
- lib/wait_a_minute.rb,
lib/wait_a_minute/version.rb,
lib/wait_a_minute/wait_a_minute_request_log.rb,
lib/generators/wait_a_minute/install_generator.rb,
lib/generators/wait_a_minute/migration_generator.rb,
lib/generators/wait_a_minute/initializer_generator.rb
Defined Under Namespace
Modules: ControllerHelpers, Generators Classes: Engine, WaitAMinuteRequestLog
Constant Summary collapse
- VERSION =
"0.0.5"
- @@lookback_interval =
2.minutes
- @@maximum_requests =
that means a request every 10 seconds on average, that’s pretty high from a human behind the IP
12
- @@debug =
that means a request every 10 seconds on average, that’s pretty high from a human behind the IP
false
- @@layout =
serving a simple page by default
nil
- @@allowed_ips =
[]
Class Method Summary collapse
Class Method Details
.cleanup ⇒ Object
35 36 37 |
# File 'lib/wait_a_minute.rb', line 35 def self.cleanup WaitAMinuteRequestLog.cleanup end |