ravenx v2.0.0 Ravenx.Strategy.Dummy View Source

Ravenx Dummy strategy.

Used to avoid dispatching real notifications.

Link to this section Summary

Functions

Function used to send a notification

Link to this section Functions

Link to this function call(arg1, _) View Source
call(map, map) ::
  {:ok, Bamboo.Email.t} |
  {:error, {atom, any}}

Function used to send a notification.

This is a dummy one: if it receives a payload with result equal to true, returns true. Otherwise, return false.