Class: EurekaBot::Job::Output
- Inherits:
-
EurekaBot::Job
- Object
- ActiveJob::Base
- EurekaBot::Job
- EurekaBot::Job::Output
- Defined in:
- lib/eureka_bot/job/output.rb
Instance Method Summary collapse
Methods included from Instrumentation
Instance Method Details
#perform(sender_class, message, *args) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/eureka_bot/job/output.rb', line 4 def perform(sender_class, , *args) instrument 'job.output' do sender_class.constantize.new.deliver(, *args) end rescue StandardError => e EurekaBot.exception_handler(e, self.class, sender_class: sender_class, message: ) end |