lib/geocoder/lookups/google_premier.rb in geocoder-1.6.3 vs lib/geocoder/lookups/google_premier.rb in geocoder-1.6.4
- old
+ new
@@ -19,9 +19,13 @@
"#{protocol}://maps.googleapis.com#{path}&signature=#{sign(path)}"
end
private # ---------------------------------------------------------------
+ def result_root_attr
+ 'results'
+ end
+
def cache_key(query)
"#{protocol}://maps.googleapis.com/maps/api/geocode/json?" + hash_to_query(cache_key_params(query))
end
def cache_key_params(query)