class Geocoder::Result::Mapbox

def city

def city
  @data['context'].map { |c| c['text'] if c['id'] =~ /place/ }.compact.first
end