DripDrop.Templates.Validators (DripDrop v0.1.0)

Copy Markdown View Source

Channel-specific rendered payload validators.

Summary

Functions

Validates a rendered payload for the given channel and variable scope.

Functions

validate(rendered, channel, vars)

@spec validate(map() | binary(), atom() | binary(), map()) ::
  {:ok, map()} | {:error, map()}

Validates a rendered payload for the given channel and variable scope.