Class: Executo::FeedbackProcessJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Executo::FeedbackProcessJob
- Defined in:
- lib/executo/feedback_process_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(feedback, results) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/executo/feedback_process_job.rb', line 5 def perform(feedback, results) feedback_service_class = feedback['service']&.safe_constantize unless feedback_service_class Executo.logger.error("Feedback service #{feedback['service']} not found") return end feedback_service_class.process_feedback(feedback, results) end |