Maru v0.13.2 Maru.Resource.DSLs View Source
Link to this section Summary
Functions
Handle delete method
Handle get method
Namespace alias group
Handle head method
Handle all method
Mount another router to current router
Namespace alias namespace
Handle options method
Handle patch method
Push a Plug
struct to current scope
Push a Plug
struct with options and guards to current scope
Push a overridable Plug
struct to current scope
Push a overridable Plug
struct with options and guards to current scope
Handle post method
Define path prefix of current router
Handle put method
Namespace alias resource
Namespace alias resources
Special namespace which save path to param list
Special namespace which save path to param list with options
Namespace alias segment
Define version of current router
version: “v1”, do … end: Version of routes within block
Link to this section Functions
Handle delete method.
Handle get method.
Namespace alias group.
Handle head method.
Handle all method.
Mount another router to current router.
Namespace alias namespace.
Handle options method.
Handle patch method.
Push a Plug
struct to current scope.
Push a Plug
struct with options and guards to current scope.
Push a overridable Plug
struct to current scope.
Push a overridable Plug
struct with options and guards to current scope.
Handle post method.
Define path prefix of current router.
Handle put method.
Namespace alias resource.
Namespace alias resources.
Special namespace which save path to param list.
Special namespace which save path to param list with options.
Namespace alias segment.
Define version of current router.
version: “v1”, do … end: Version of routes within block.
version: “v2”, extend: “v1”, at: V1 Define version and extended router of current router.