lib/geocoder/lookups/google_places_details.rb in geocoder-1.4.9 vs lib/geocoder/lookups/google_places_details.rb in geocoder-1.5.0

- old
+ new

@@ -14,14 +14,14 @@ def supported_protocols [:https] end - def query_url(query) - "#{protocol}://maps.googleapis.com/maps/api/place/details/json?#{url_query_string(query)}" - end - private + + def base_query_url(query) + "#{protocol}://maps.googleapis.com/maps/api/place/details/json?" + end def results(query) return [] unless doc = fetch_data(query) case doc["status"]