lib/parse/model/geopoint.rb
def _validate_point

      unless @latitude.nil? || @latitude.between?(LAT_MIN, LAT_MAX)
        warn "[Parse::GeoPoint] Latitude (#{@latitude}) is not between #{LAT_MIN}, #{LAT_MAX}!"
        warn "Attempting to use GeoPoint’s with latitudes outside these ranges will raise an exception in a future release."
      end

      unless @longitude.nil? || @longitude.between?(LNG_MIN, LNG_MAX)
        warn "[Parse::GeoPoint] Longitude (#{@longitude}) is not between #{LNG_MIN}, #{LNG_MAX}!"
        warn "Attempting to use GeoPoint’s with longitude outside these ranges will raise an exception in a future release."
      end

    end
def _validate_point

      unless @latitude.nil? || @latitude.between?(LAT_MIN, LAT_MAX)
        warn "[Parse::GeoPoint] Latitude (#{@latitude}) is not between #{LAT_MIN}, #{LAT_MAX}!"
        warn "Attempting to use GeoPoint’s with latitudes outside these ranges will raise an exception in a future release."
      end

      unless @longitude.nil? || @longitude.between?(LNG_MIN, LNG_MAX)
        warn "[Parse::GeoPoint] Longitude (#{@longitude}) is not between #{LNG_MIN}, #{LNG_MAX}!"
        warn "Attempting to use GeoPoint’s with longitude outside these ranges will raise an exception in a future release."
      end

    end
The initializer can create a GeoPoint with a hash, array or values.
 @example
  san_diego = Parse::GeoPoint.new(32.8233, -117.6542)
  san_diego = Parse::GeoPoint.new [32.8233, -117.6542]
  san_diego = Parse::GeoPoint.new { latitude: 32.8233, longitude: -117.6542}

 @param latitude [Numeric] The latitude value between LAT_MIN and LAT_MAX.
 @param longitude [Numeric] The longitude value between LNG_MIN and LNG_MAX.
 @!visibility private