module Runcobo::Params::Url
Overview
Defines url params.
class UrlParamsExample < BaseAction
get "/params/:id/:category"
url NamedTuple(id: Int64, category: String)
call do
sum = params[:id] + 6
render_plain "#{sum}: #{category}"
end
end