Sha256: 5034415b5f5356bc3c58fd679e4c0dcbf5b32c5daaa4cc1f2a5d1435b11ea327
Contents?: true
Size: 834 Bytes
Versions: 1
Compression:
Stored size: 834 Bytes
Contents
# noaa-alerts A library for consuming and formatting NOAA National Weather Service alerts. ## Installation Add this line to your application's Gemfile: gem 'noaa-alerts' And then execute: $ bundle Or install it yourself as: $ gem install noaa-alerts ## Usage require 'noaa-alerts' noaa = Noaa::Client.new('ny') puts noaa.alerts[0].description # => 'THE NATIONAL WEATHER SERVICE IN UPTON NY HAS ISSUED A\n* SEVERE THUNDERSTORM WARNING FOR...' puts noaa.alerts[0].locations.join(', ') # => 'Rockland, Westchester' ## Requirements Ruby 1.9 ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noaa-alerts-0.1.0 | README.md |