class Geocoder::Lookup::GeoportailLu

def results(query)

def results(query)
  return [] unless doc = fetch_data(query)
  if doc['success'] == true
    result = doc['results']
  else
    result = []
    raise_error(Geocoder::Error) ||
        Geocoder.log(:warn, "Geportail.lu Geocoding API error")
  end
  result
end