View Source ExRoboCop.SecretAnswer (ExRoboCop v0.1.5)

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

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

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

Returns a specification to start this module under a supervisor.

See Supervisor.

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