Sha256: 4fa07d32a4344147f539b7ff2ad24600b67ea6d17c814f3528a29f9c036e4182
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
WebAdminApp.get '/api/config/full.?:format?' do log = get_logger format = (params[:format])? format_by_extensions(params[:format]) : format_by_extensions('json') log.call "api : config, verb : GET, route : show, format : #{format}" config = get_config.full obj = splash_return case: :quiet_exit, :more => "logses list" obj[:data] = config content_type format format_response(obj, (params[:format])? format_by_extensions(params[:format]): request.accept.first) end
Version data entries
5 entries across 5 versions & 1 rubygems