Class: Marty::DelayedJobController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/marty/delayed_job_controller.rb

Instance Method Summary collapse

Instance Method Details

#triggerObject



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