Enumeration of HTTP status codes.
Add this to your application's shard.yml
:
dependencies:
status:
github: nylar/status
require "status"
Status.new(200) # => Status::Code::Ok
See specs and generated docs for more examples.
- Fork it ( https://github.com/nylar/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 a new Pull Request
- Scott Raine - creator, maintainer