No commit activity in last 3 years
No release in over 3 years
Protect your Grape API from forgery attacks like Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 0.7
 Project Readme

Grape ForgeryProtection

This gem is your Rails app's payment model.

Install

Add in your application Gemfile:

gem 'grape-forgery_protection'

Release

To release a new version, update the CHANGELOG.md and change the version number in lib/grape/forgery_protection/version.rb.

Then, the following command will add these two files, commit, tag with the version and push to github:

$ rake grape-forgery_protection_release

Finally, upload the new pkg/grape-forgery_protection-*.gem file to rubygems.

Thanks

Thanks to @jandudulski for its gist.