Skip to content
Snippets Groups Projects
Commit 13c1a10c authored by Alex Reisner's avatar Alex Reisner
Browse files

Make Geocoder::Lookup.search public.

parent e68db72e
No related branches found
No related tags found
No related merge requests found
...@@ -27,9 +27,6 @@ module Geocoder ...@@ -27,9 +27,6 @@ module Geocoder
doc['results'].first['formatted_address'] doc['results'].first['formatted_address']
end end
private # ---------------------------------------------------------------
## ##
# Query Google for geographic information about the given phrase. # Query Google for geographic information about the given phrase.
# Returns a hash representing a valid geocoder response. # Returns a hash representing a valid geocoder response.
...@@ -40,6 +37,9 @@ module Geocoder ...@@ -40,6 +37,9 @@ module Geocoder
doc && doc['status'] == "OK" ? doc : nil doc && doc['status'] == "OK" ? doc : nil
end end
private # ---------------------------------------------------------------
## ##
# Returns a parsed Google geocoder search result (hash). # Returns a parsed Google geocoder search result (hash).
# This method is not intended for general use (prefer Geocoder.search). # This method is not intended for general use (prefer Geocoder.search).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment