Glific v0.3.1 GlificWeb.EnsurePlugConfig View Source

This is a struct that holds the configuration for GlificWeb.EnsurePlug.

Here are the config keys allowed:

  • assign: the name of the assign where we must save the organization.
  • callback: function that might be called when the plug succeeded. It must return a connection.
  • failure_callback: function that might be called when the plug failed. It must return a connection.

Link to this section Summary

Link to this section Types

Specs

t() :: %GlificWeb.EnsurePlugConfig{
  assign: term(),
  callback: term(),
  failure_callback: term()
}