class Geocoder::Result::Geoip2

def state

def state
  data.fetch('subdivisions', []).fetch(0, {}).fetch('names', {}).fetch(locale, '')
end