Class: Gaku::Api::V1::StatusesController

Inherits:
ActionController::API
  • Object
show all
Defined in:
app/controllers/gaku/api/v1/statuses_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



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