Sha256: f779b7fa585230c99c34cd2237bd3fccc99b09610e1e2ac1ec4189d2d92b4321

Contents?: true

Size: 844 Bytes

Versions: 2

Compression:

Stored size: 844 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

Requires 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

2 entries across 2 versions & 1 rubygems

Version Path
noaa-alerts-0.0.2 README.md
noaa-alerts-0.0.1 README.md