diff options
Diffstat (limited to 'lib/recaptcha/response.ex')
-rw-r--r-- | lib/recaptcha/response.ex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/recaptcha/response.ex b/lib/recaptcha/response.ex new file mode 100644 index 0000000..f8adb18 --- /dev/null +++ b/lib/recaptcha/response.ex @@ -0,0 +1,8 @@ +defmodule Recaptcha.Response do + @moduledoc """ + A struct representing the successful recaptcha response from the reCAPTCHA API. + """ + defstruct challenge_ts: "", hostname: "" + + @type t :: %__MODULE__{challenge_ts: String.t, hostname: String.t} +end |