0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Papertrail support for Grape APIs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.19
>= 1.0.4, ~> 1.0

Runtime

~> 2.2.x
>= 1.8.2, ~> 1.8
 Project Readme

grape-papertrail

PaperTrail whodunnit support for Grape APIs. Very preliminary. Usage boils down to

set_papertrail_user(some_object)

and/or

set_paper_trail_controller_info(info)

inside a Grape endpoint. Mega props fly out to @davidcelis for his api-pagination gem, from which I stole the Grape hooking code.