module Artanis::DSL
Direct including types
Defined in:
dsl.crInstance Method Summary
Macro Summary
- after(path = "*", &block)
- before(path = "*", &block)
- call_action(method_name)
- call_method(method)
- delete(path, &block)
-
gen_match(type, method, path, &block)
TODO use __match_000000 routes to more easily support whatever in routes (?) TODO: match regexp routes TODO: add conditions on routes
- get(path, &block)
- halt(code_or_message = 200)
- halt(code, message)
- head(path, &block)
- match(method, path, &block)
- options(path, &block)
- pass
- patch(path, &block)
- post(path, &block)
- put(path, &block)
Instance Method Detail
Macro Detail
macro gen_match(type, method, path, &block)
#
TODO use __match_000000 routes to more easily support whatever in routes (?)
TODO match regexp routes
TODO add conditions on routes