class Geocoder::Result::SmartyStreets

def city

def city
  if international_endpoint?
    components['locality']
  elsif zipcode_endpoint?
    city_states.first['city']
  else
    components['city_name']
  end
end