Class: BotVerification::RefreshJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- BotVerification::RefreshJob
- Defined in:
- lib/bot_verification/refresh_job.rb
Overview
Background job for refreshing bot IP ranges
Can be used directly or subclassed for customization:
Instance Method Summary collapse
Instance Method Details
#perform(bot_type = nil) ⇒ Object
32 33 34 |
# File 'lib/bot_verification/refresh_job.rb', line 32 def perform(bot_type = nil) BotVerification.refresh_ip_ranges!(bot_type) end |