http_status
A simple gem to access HTTP statuses.
Installation
Add this line to your application's Gemfile:
gem 'http_status'
And then execute:
$ bundle
Or install it yourself as:
$ gem install http_status
Usage
HTTPStatus::Ok # gives 200
Contributing
- Fork it ( http://github.com/JikkuJose/http_status/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request