View Source ExRoboCop (ExRoboCop v0.1.3)
Documentation for ExRoboCop
.
Link to this section Summary
Functions
Create a captcha text and a captcha image
Store captcha text under a unique ID for later retrieval
Compare user answer with correct answer under uuid
Put in application children to start in supervision tree
Link to this section Types
Link to this section Functions
@spec create_captcha() :: {captcha_text(), captcha_image()}
Create a captcha text and a captcha image
@spec create_form_id(captcha_text()) :: uuid()
Store captcha text under a unique ID for later retrieval
@spec not_a_robot?({captcha_text(), uuid()}) :: :error | {:error, :wrong_captcha} | :ok
Compare user answer with correct answer under uuid
@spec start() :: {ExRoboCop.SecretAnswer, %{}}
Put in application children to start in supervision tree