Add class method API to Kemal::Base

This commit is contained in:
Johannes Müller 2017-10-15 22:32:11 +02:00 committed by sdogruyol
parent 2e42b3f48c
commit 53fa65f964
4 changed files with 62 additions and 9 deletions

9
samples/app.cr Normal file
View file

@ -0,0 +1,9 @@
require "kemal/base"
class MyApp < Kemal::Application
get "/" do
"Hello Kemal!"
end
end
MyApp.run