geocoder
geocoder copied to clipboard
Add lookup for Google Places Details API (New)
Overview
Adds a lookup for Google Places Details (New).
Changes
- Added new base class for Google -
GoogleBase
. - Added a base class for new Google API -
GoogleNew
. - Added new lookup for Google places details (new).
- Tests.
Notes
Most of the changes are copy-paste with small corrections from the existing google lookups. I've tried to unify both google APIs, but seems like there's not too much to unify... Also I think the GoogleBase
class is kinda redundant, so I can duplicate configure_ssl!
and supported_protocols
methods in both Google
and GoogleNew
instead (or maybe you have a better solution).
Naming is tough 🙃
Google documentation:
@alexreisner Hi Alex, possible to merge you think?