edwardsamuel / google-maps-services-ruby

Ruby gem for Google Maps Web Service APIs
Apache License 2.0
91 stars 52 forks source link

Add GoogleMapsService::Error::NotFoundError #9

Open jguthrie100 opened 7 years ago

jguthrie100 commented 7 years ago
jguthrie100 commented 7 years ago

I found that entering a bad address in the directions API just returns a standard ApiError. I thought it would be nice to have something a bit more specific

(https://developers.google.com/maps/documentation/javascript/directions#DirectionsStatus)

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 93151a3b0caffd2ae6d6c77675466892889e8f3f on jguthrie100:add_not_found_error into 46746fd72e90c75855baa88aee04e41c84ff32c9 on edwardsamuel:master.