class OpenWeatherMap::City
Public Class Methods
new(country, city)
click to toggle source
# File lib/open_weather_map.rb, line 6 def initialize(country, city) params = { q: "#{country},#{city}" } @response = request params end