hunter v0.5.1 Hunter.Domain View Source

Domain blocks

Link to this section Summary

Functions

Fetch user's blocked domains

Unblock a domain

Link to this section Functions

Link to this function

block_domain(conn, domain) View Source
block_domain(Hunter.Client.t(), String.t()) :: boolean()

Block a domain

Parameters

  • conn - connection credentials
  • domain - domain to block
Link to this function

blocked_domains(conn, options \\ []) View Source
blocked_domains(Hunter.Client.t(), Keyword.t()) :: list()

Fetch user's blocked domains

Parameters

  • conn - connection credentials
  • options - option list

Options

  • max_id - get a list of blocks with id less than or equal this value
  • since_id - get a list of blocks with id greater than this value
  • limit - maximum number of blocks to get, default: 40, max: 80
Link to this function

unblock_domain(conn, domain) View Source
unblock_domain(Hunter.Client.t(), String.t()) :: boolean()

Unblock a domain

Parameters

  • conn - connection credentials
  • domain - domain to unblock