lib/geonames_api/weather.rb in geonames_api-0.1.0 vs lib/geonames_api/weather.rb in geonames_api-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
module GeoNamesAPI
- class Weather < List
+ class Weather < ListEndpoint
METHOD = "findNearByWeatherJSON"
FIND_PARAMS = %w(lat lng radius)
def geo_names_api_country