Class: Apress::Api::FireCallbackJob
- Inherits:
-
Object
- Object
- Apress::Api::FireCallbackJob
- Extended by:
- Resque::Plugins::ExponentialBackoff
- Includes:
- Resque::Integration
- Defined in:
- app/jobs/apress/api/fire_callback_job.rb
Class Method Summary collapse
Class Method Details
.perform(service, event, params) ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'app/jobs/apress/api/fire_callback_job.rb', line 16 def self.perform(service, event, params) callback_class = "#{service}_client/fire_callback".camelize.constantize callback_class.call!( event: event, params: params ) end |