Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sardaukar/grape-papertrail

PaperTrail whodunnit support for Grape APIs
https://github.com/sardaukar/grape-papertrail

grape-api grape-papertrail papertrail papertrail-whodunnit-support ruby

Last synced: 4 months ago
JSON representation

PaperTrail whodunnit support for Grape APIs

Awesome Lists containing this 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](https://github.com/davidcelis/api-pagination) gem, from which I stole the Grape hooking code.