Melon::Api
Inherits Reference / Object
Constructors
new(request : HTTP::Request, response : HTTP::Server::Response, params : Hash(Symbol, String) = {} of Symbol => String)
Initialize an api
Class methods
description
SourceInstance methods
handle_route(route : Route)
Sourcejson(object)
Sourcenot_found
Sourceok(content_type, body, status = 200)
Sourceparams
Sourcepart
Sourceroutes
SourceMacros
description(desc)
Sourceresource(name)
Source