diff --git a/lib/geocoder/results/nominatim.rb b/lib/geocoder/results/nominatim.rb index 07536814ea4789b7cf16ce0a5a475f04d461885d..249d75f520cf50787668d544b3a715e53f2658ab 100644 --- a/lib/geocoder/results/nominatim.rb +++ b/lib/geocoder/results/nominatim.rb @@ -83,16 +83,6 @@ module Geocoder::Result polygonpoints display_name class type stadium] end - def class - warn "DEPRECATION WARNING: The 'class' method of Geocoder::Result::Nominatim objects is deprecated and will be removed in Geocoder version 1.2.0. Please use 'place_class' instead." - @data['class'] - end - - def type - warn "DEPRECATION WARNING: The 'type' method of Geocoder::Result::Nominatim objects is deprecated and will be removed in Geocoder version 1.2.0. Please use 'place_type' instead." - @data['type'] - end - response_attributes.each do |a| unless method_defined?(a) define_method a do