class Geocoder::Result::SmartyStreets
def state_code
def state_code if international_endpoint? components['administrative_area'] elsif zipcode_endpoint? city_states.first['state_abbreviation'] else components['state_abbreviation'] end end
def state_code if international_endpoint? components['administrative_area'] elsif zipcode_endpoint? city_states.first['state_abbreviation'] else components['state_abbreviation'] end end