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