overture8 / mangoex

Elixir wrapper for the MangoPay API
3 stars 3 forks source link

Runs a supervised version of Mangoex #12

Closed tosbourn closed 7 years ago

tosbourn commented 7 years ago

Starts the Mangoex.Client under a supervisor using the one_for_one strategy.

Tested by running locally and whilst running :observer.start and looking in Applications I could see that Elixir.Mangoex.Client is spawned via Elixir.Mangoex.Supervisor and if I kill the process another one immediately replaces it.