Unplug v0.2.0 Unplug.Predicates.RequestPathIn View Source

Given a request path, execute the plug if the request value is in the the provided enumerable of values.

Usage:

plug Unplug,
  if: {Unplug.Predicates.RequestPathIn, ["/users", "/auth"]},
  do: MyApp.Plug