grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
EntityRequest#initialize
We use EntityRequest object to collect parameters and variables from the controller. Because options that are being passed to the entity do appear in each entity object in the chain, we need a way to pass data that is present in the controller (see #20045).
Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-EntityRequest-initialize-for-pr
# Commit to gitgit add git commit -m "better docs for EntityRequest#initialize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-EntityRequest-initialize-for-pr
hub pull-request
# Celebrate!