lib/weather-api/response.rb in weather-api-1.1.1 vs lib/weather-api/response.rb in weather-api-1.2.0
- old
+ new
@@ -50,10 +50,10 @@
attr_reader :request_url
# the title of the weather information for the requested location
attr_reader :title
- def initialize request_location, request_url, doc
+ def initialize(request_location, request_url, doc)
# save the request params
@request_location = request_location
@request_url = request_url
@astronomy = Astronomy.new doc[:astronomy]