ABA.get_bank
You're seeing just the function
get_bank
, go back to ABA module for more information.
Link to this function
get_bank(routing_number)
Specs
get_bank(any()) :: {:ok, ABA.Bank.t()} | {:error, :not_found | :invalid}
Looks up bank info via the routing number passed.
Examples
iex> ABA.get_bank("111900659")
{:ok, %ABA.Bank{routing_number: "111900659", name: "WELLS FARGO BANK",
address: "255 2ND AVE SOUTH", city: "MINNEAPOLIS",
state: "MN", zip: "55479"}}
iex> ABA.get_bank("111XXX659")
{:error, :invalid}