Class: Sidekiq::Snitch
- Inherits:
-
Object
- Object
- Sidekiq::Snitch
- Includes:
- Worker
- Defined in:
- app/workers/sidekiq/snitch.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
11 12 13 14 15 16 |
# File 'app/workers/sidekiq/snitch.rb', line 11 def perform Net::HTTP.get(URI(ENV['SIDEKIQ_SNITCH_URL'])) # groundhog day! Snitch.perform_in(1.hour) end |