Debounce v0.1.0 Debounce View Source

Documentation for Debounce.

Link to this section Summary

Functions

Debounce verify/1 accepts and email_address and returns a three member tuple containing the summarized results of the check.

Debounce verify/2 accepts and email_address and response_type atom (:full or :minimal) and returns a three member tuple containing the results of the check..

Link to this section Functions

Debounce verify/1 accepts and email_address and returns a three member tuple containing the summarized results of the check.

Examples

 iex> Debounce.verify("info@example.com")
 {:ok, "unknown", "info@example.com"}
Link to this function

verify(email_address, response_type)

View Source

Debounce verify/2 accepts and email_address and response_type atom (:full or :minimal) and returns a three member tuple containing the results of the check..

Examples

iex> Debounce.verify("info@example.com", :full)
{:ok,
 %{
   "balance" => "3198.6",
   "debounce" => %{
     "code" => "7",
     "did_you_mean" => "",
     "email" => "info@example.com",
     "free_email" => "false",
     "photo" => "",
     "reason" => "Unknown",
     "result" => "Unknown",
     "role" => "true",
     "send_transactional" => "1"
   },
   "success" => "1"
 }, "info@example.com"}

 iex> Debounce.verify("info@example.com", :minimal)
 {:ok, "unknown", "info@example.com"}