Function for returning the country code should validate
Opened this issue · 0 comments
railsmechanic commented
The function which returns the country code for a given IBAN should check whether the given country code of the IBAN is within the list of supported countries:
Lines 187 to 191 in 1572aaf
Change from returning a simple string to
{:ok, "DE"}
or {:error, :invalid_country}
This is a breaking change!