rhomeister / api_postcode_nl

MIT License
2 stars 3 forks source link

Raises error if house number is non-numeric #1

Closed mvz closed 9 years ago

mvz commented 9 years ago

Sometimes, a user may accidentally enter a non-numeric house number. If there is no house_number_addition, this causes an error in ApiPostcodeNl::API.address, line 71:

TypeError: wrong argument type nil (expected Regexp).

rhomeister commented 9 years ago

Hi mvz,

Feel free to submit a PR for this. This gem is not actively maintained anymore, but I'd appreciate any and all contributions.

Cheers, Ruben

mvz commented 9 years ago

Fixed in #2.