phoenix_rest v0.6.1 mix phoenix_rest.gen.resource

Generates a PlugRest resource in your Phoenix application.

mix phoenix_rest.gen.resource UserResource

The generated resource will contain:

  • a resource file in web/resources

Link to this section Summary

Functions

Raises on umbrella application.

A task needs to implement run which receives a list of command line args.

Link to this section Functions

Link to this function

no_umbrella!(task)

Raises on umbrella application.

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.