class Geocoder::Lookup::GooglePremier

def query_url(query, reverse = false)

def query_url(query, reverse = false)
  params = {
    (reverse ? :latlng : :address) => query,
    :sensor => 'false',
    :language => Geocoder::Configuration.language,
    :client => Geocoder::Configuration.api_key[1],
    :channel => Geocoder::Configuration.api_key[2]
  }.reject{ |key, value| value.nil? }
  path = "/maps/api/geocode/json?#{hash_to_query(params)}"
  "#{protocol}://maps.googleapis.com#{path}&signature=#{sign(path)}"
end