gringotts v0.0.2 Gringotts.Worker

A central supervised worker handling all the calls for different gateways

It’s main task is to re-route the requests to the respective gateway methods.

State for this worker currently is:-

  • gateways:- a list of all the gateways configured in the application.
  • all_configs:- All the configurations for all the gateways that are configured.

Link to this section Summary

Link to this section Functions

Link to this function handle_call(msg, from, state)

Handles call for ‘unstore’ method

Link to this function start_link(gateways, all_config, opts \\ [])