View Source Notifiex.Service.Mock (Notifiex v1.2.0)

Mock service for Notifiex.

Link to this section Summary

Functions

Mock service returns {:ok, true} if payload is {hello: "world"}, else returns an error response: {:error, :mock_error, false}.

Link to this section Functions

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

Mock service returns {:ok, true} if payload is {hello: "world"}, else returns an error response: {:error, :mock_error, false}.