View Source ExDatacube.CNH behaviour (ExDatacube v0.3.1)
Define behaviour
com chamadas da API de CNH.
TOOD: Implementar adaptadores.
Link to this section Summary
Callbacks
Retorna CNH de motorista da base nacional.
Link to this section Types
@type cpf() :: String.t()
CPF do motorista
Link to this section Callbacks
@callback consulta_nacional_cnh(cpf(), ExDatacube.shared_opts()) :: {:ok, map()} | {:error, ExDatacube.API.error()}
Retorna CNH de motorista da base nacional.