View Source ExDatacube.CNH behaviour (ExDatacube v0.2.0)
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()} | ExDatacube.authentication_error() | ExDatacube.unexpected_error()
Retorna CNH de motorista da base nacional.