Calling Elixir from Erlang

I just wrote this:

https://joearms.github.io/published/2017-12-18-Calling-Elixir-From-Erlang.html

I’m not sure if I’m doing things correctly – the code seemed to work but I’m unsure if this is the best way to go about things.

All comments are most welcome