struct Alfodr::DSL::Router
- Alfodr::DSL::Router
- Struct
- Value
- Object
Defined in:
alfodr/dsl/router.crConstant Summary
-
RESOURCES =
[:get, :post, :put, :patch, :delete, :options, :head, :trace, :connect]
Constructors
Instance Method Summary
- #clone
- #copy_with(router _router = @router, valve _valve = @valve, scope _scope = @scope)
- #router : Alfodr::Router::Router
- #scope : String
- #valve : Symbol
- #websocket(path, app_socket)
Macro Summary
- connect(*args)
- delete(*args)
- get(*args)
- head(*args)
- options(*args)
- patch(*args)
- post(*args)
- put(*args)
- resources(resource, controller, only = nil, except = nil)
- route(verb, resource, controller, action)
- trace(*args)
Constructor Detail
Instance Method Detail
def copy_with(router _router = @router, valve _valve = @valve, scope _scope = @scope)
#