Sha256: b0b9e43091c7790b9b9056a8ef162789ad6f8bd768caf350503e6bf34d8ef341
Contents?: true
Size: 750 Bytes
Versions: 2
Compression:
Stored size: 750 Bytes
Contents
# SimpleZipCode Super lightweight solution to get a US state abbreviation from a valid zip code! ## Installation Add this line to your application's Gemfile: ```ruby gem 'simple_zip_code' ``` And then execute: $ bundle Or install it yourself as: $ gem install simple_zip_code ## Usage ```ruby us_state = SimpleZipCode::DeduceState.get_state_from_zip(98230) # valid zip integer p us_state > "WA" # ...that's all there is ``` ## Contributing 1. Fork it ( https://github.com/[my-github-username]/simple_zip_code/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_zip_code-0.4.1 | README.md |
simple_zip_code-0.3.1 | README.md |