Class: Marty::DelayedJobController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Marty::DelayedJobController
- Defined in:
- app/controllers/marty/delayed_job_controller.rb
Instance Method Summary collapse
Instance Method Details
#trigger ⇒ Object
2 3 4 5 |
# File 'app/controllers/marty/delayed_job_controller.rb', line 2 def trigger work_off_job if delayed_job.present? render json: { status: :ok }, status: :ok end |