def geocode(latitude, longitude, radius = 50)
      raise InvalidGeocodinates unless (-90 <= latitude && latitude <= 90 && -180 <= longitude && longitude <= 180)
      @query[:latitude] = latitude
      @query[:longitude] = longitude
      @query[:radius] = radius
      return self
    end
def geocode(latitude, longitude, radius = 50)
      raise InvalidGeocodinates unless (-90 <= latitude && latitude <= 90 && -180 <= longitude && longitude <= 180)
      @query[:latitude] = latitude
      @query[:longitude] = longitude
      @query[:radius] = radius
      return self
    end
Filter search results to latitude & longitude
 within a specific radius
 Parameters:
 - latitude: The latitude of the location. The range of possible values is -90 to 90.
 - longitude: The longitude of the location. The range of possible values is -180 to 180. (Note: If both latitude and longitude are specified, they wil take priority over all other location parameters - for example the location method)
 - radius: The distance in miles from the specified location. The default is 50
 Example:
   search.geocode(37.760401, -122.416534)
 The example above would limit results to the San Francisco bay area, shown by this map[http://www.freemaptools.com/radius-around-point.htm?clat=37.760401&clng=-122.41653400000001&r=80.47&lc=FFFFFF&lw=1&fc=00FF00]