Cep v0.0.3 Cep.Source behaviour

Link to this section Summary

Link to this section Callbacks

Link to this callback

get_address(cep)
get_address(cep :: String.t()) ::
  {:ok,
   %Cep.Address{
     cep: term(),
     city: term(),
     complement: term(),
     neighborhood: term(),
     state: term(),
     street: term()
   }}
  | {:not_found, String.t()}
  | {:error, String.t()}