grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
PersonalProjectsFinder#execute
Finds the projects belonging to the user in "@user", limited to either
public projects or projects visible to the given user.
current_user - When given the list of projects is limited to those only
visible by this user.
Returns an ActiveRecord::Relation.Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-PersonalProjectsFinder-execute-for-pr
# Commit to gitgit add git commit -m "better docs for PersonalProjectsFinder#execute"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-PersonalProjectsFinder-execute-for-pr
hub pull-request
# Celebrate!