Maru v0.11.4 Maru.Builder
Generate functions.
For all modules:
Two functions will be generated.
`__routes__/0` for returning routes.
`endpoint/2` for execute endpoint block.
For test environments:
these functions generated:
`__version__/0`, `__mounted_modules__/0`, `__plugs__/0`
For plug modules:
You can define a plug module by `use Maru.Router, make_plug: true` or
`config :maru, MyPlugModule` within config.exs.
Two functions `init/1` and `call/2` will be generated for making this module
a [`Plug`](https://hexdocs.pm/plug/1.2.2/Plug.html). The function `endpoint/2` will be called by this [`Plug`](https://hexdocs.pm/plug/1.2.2/Plug.html).