class Geocoder::Lookup::Yahoo

def query_url(query, reverse = false)

def query_url(query, reverse = false)
  params = {
    :location =>  query,
    :flags => "JXTSR",
    :gflags => "AC#{'R' if reverse}",
    :appid => Geocoder::Configuration.yahoo_appid
  }
  "http://where.yahooapis.com/geocode?" + hash_to_query(params)
end