Class: Api::V1::ServerInfoController

Inherits:
KebabRemoteApi::ApplicationController
  • Object
show all
Defined in:
app/controllers/kebab_remote_api/api/v1/server_info_controller.rb

Instance Method Summary collapse

Instance Method Details

#get_server_infoObject



3
4
5
6
# File 'app/controllers/kebab_remote_api/api/v1/server_info_controller.rb', line 3

def get_server_info
  @info = ServerInfo.new
  render status: 200, json: @info.as_json
end