Class: Webhookdb::Jobs::Erroring
- Inherits:
-
Object
- Object
- Webhookdb::Jobs::Erroring
- Includes:
- Sidekiq::Job
- Defined in:
- lib/webhookdb/jobs/amigo_test_jobs.rb
Instance Method Summary collapse
Instance Method Details
#perform(succeed: false) ⇒ Object
114 115 116 117 |
# File 'lib/webhookdb/jobs/amigo_test_jobs.rb', line 114 def perform(succeed: false) return if succeed raise "erroring as asked!" end |