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