Grape Sinatra Helpers
This is a small subset of helper methods available in Sinatra::Base that I
have ported over to Grape
cache_controlexpireslast_modifiedetag
And a few others that the above directly depend on.
Installation
Add this line to your application's Gemfile:
gem 'grape_sinatra_helpers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install grape_sinatra_helpers
Usage
Use these methods as you normally would with the Sinatra equivalent.
TODO
- Port over Sinatra test cases
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request