Class: ResquePoll::JobsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ResquePoll::JobsController
- Defined in:
- app/controllers/resque_poll/jobs_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'app/controllers/resque_poll/jobs_controller.rb', line 4 def show status = Resque::Plugins::Status::Hash.get(params.require(:id)) if status.nil? head :not_found else render json: status, status: :ok end end |