Unplug v0.2.0 Unplug.Predicates.EnvVarNotIn View Source

Given an environment variable, execute the plug if the environment variable value is not in the provided enumerable of values.

Usage:

plug Unplug,
  if: {Unplug.Predicates.EnvVarNotIn, {"ENABLE_DEBUG", ["true", "1"]}},
  do: MyApp.Plug