Class: Gaku::Api::V1::StatusesController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- Gaku::Api::V1::StatusesController
- Defined in:
- app/controllers/gaku/api/v1/statuses_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'app/controllers/gaku/api/v1/statuses_controller.rb', line 6 def show if msgpack_request? render msgpack: { status: :running } else render json: { status: :running } end end |