sardaukar / grape-papertrail

PaperTrail whodunnit support for Grape APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

PaperTrail whodunnit support for Grape APIs

License:MIT License


Languages

Language:Ruby 100.0%