class Geocoder::Result::Yandex

def premise

def premise
  if thoroughfare_data.is_a?(Hash)
    thoroughfare_data['Premise']
  elsif locality_data.is_a?(Hash)
    locality_data['Premise']
  end
end