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

Link to this macro delete(path \\ "", list) View Source (macro)

Handle delete method.

Link to this macro get(path \\ "", list) View Source (macro)

Handle get method.

Namespace alias group.

Link to this macro group(path, list) View Source (macro)
Link to this macro head(path \\ "", list) View Source (macro)

Handle head method.

Link to this macro match(path \\ "", list) View Source (macro)

Handle all method.

Mount another router to current router.

Link to this macro namespace(list) View Source (macro)

Namespace alias namespace.

Link to this macro namespace(path, list) View Source (macro)
Link to this macro options(path \\ "", list) View Source (macro)

Handle options method.

Link to this macro patch(path \\ "", list) View Source (macro)

Handle patch method.

Push a Plug struct to current scope.

Link to this macro plug(plug, opts) View Source (macro)

Push a Plug struct with options and guards to current scope.

Link to this macro plug_overridable(name, plug) View Source (macro)

Push a overridable Plug struct to current scope.

Link to this macro plug_overridable(name, plug, opts) View Source (macro)

Push a overridable Plug struct with options and guards to current scope.

Link to this macro post(path \\ "", list) View Source (macro)

Handle post method.

Define path prefix of current router.

Link to this macro put(path \\ "", list) View Source (macro)

Handle put method.

Link to this macro resource(list) View Source (macro)

Namespace alias resource.

Link to this macro resource(path, list) View Source (macro)
Link to this macro resources(list) View Source (macro)

Namespace alias resources.

Link to this macro resources(path, list) View Source (macro)
Link to this macro route_param(param, list) View Source (macro)

Special namespace which save path to param list.

Link to this macro route_param(param, options, list) View Source (macro)

Special namespace which save path to param list with options.

Namespace alias segment.

Link to this macro segment(path, list) View Source (macro)

Define version of current router.

Link to this macro version(v, opts) View Source (macro)

version: “v1”, do … end: Version of routes within block.

version: “v2”, extend: “v1”, at: V1 Define version and extended router of current router.