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 🙃
Overview
Adds a lookup for Google Places Details (New).
Changes
GoogleBase
.GoogleNew
.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 duplicateconfigure_ssl!
andsupported_protocols
methods in bothGoogle
andGoogleNew
instead (or maybe you have a better solution). Naming is tough 🙃Google documentation: