View Source GlificWeb.EnsurePlugConfig (Glific v5.1.6)

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

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