View Source ExRoboCop.SecretAnswer (ExRoboCop v0.1.1)

GenServer storing the text of the generated Captcha along with a UIID assigned to each individual user so that the user's captcha answer can be verified

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

@spec check_in(String.t()) :: String.t()
@spec check_out({String.t(), String.t()}) :: :error | {:error, :wrong_captcha} | :ok

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(map()) :: :ignore | {:error, any()} | {:ok, pid()}