Class: KomachiHeartbeat::StatsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- KomachiHeartbeat::StatsController
- Defined in:
- app/controllers/komachi_heartbeat/stats_controller.rb
Instance Method Summary collapse
Instance Method Details
#worker ⇒ Object
5 6 7 8 |
# File 'app/controllers/komachi_heartbeat/stats_controller.rb', line 5 def worker return head :not_found unless worker_stats_enabled? render json: worker_stats end |