class Geocoder::Result::Esri

def state_code

def state_code
  abbr = attributes['RegionAbbr']
  abbr.to_s == "" ? state : abbr
end