View Source Mobilizon.Service.UnplugPredicates.AppConfigKeywordEquals (Mobilizon v5.0.0-beta.1)

Given an application and a key, execute the plug if the configured value matches the expected value. Usage:

plug Unplug,
  if: {Unplug.Predicates.AppConfigEquals, {:my_app, :some_config, :enabled}},
  do: MyApp.Plug