Skip to content

Conversation

@kurtedelbrock
Copy link

Hello:

Thanks so much for creating this gem. I'm really enjoying it so far.

I added support for a pubdate attribute in the response object. Now, you can do something like the following to find out when the forecast was last updated:

puts YahooWeather::Client.new.lookup_location("48125").pubdate.strftime('%H:%m')

I also wrote a test for the new attribute, and fixed a bug in the gemspec that stopped the files in lib/yahoo-weather/** from being loaded when requested with require.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants