class Geocoder::Result::Geoip2

def state_code

def state_code
  return '' unless @data['subdivisions']
  @data['subdivisions'][0]['iso_code']
end