The simplest Elixir process example How to mock HTTPoison in Elixir?

Simplify Your Phoenix Controllers with action_fallback

In this episode we’ll look at one way to simplify an existing Phoenix controller using Phoenix.Controller.action_fallback/1

https://elixircasts.io/simplifying-phoenix-controllers-with-action_fallback

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.