Add NOTIFY method as a DSL for route definition
String as router
notify '/' do puts 'Hello World' end
Parameters:
Accepts as part of path in route definition
Yields:
what to run when route matched
Returns:
nil
232
# File 'lib/midori/api.rb', line 232 def notify(path, &block) end