grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
GitOperationService#with_branch
Whenever `start_branch_name` is passed, if `branch_name` doesn't exist, it would be created from `start_branch_name`. If `start_project` is passed, and the branch doesn't exist, it would try to find the commits from it instead of current repository.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitOperationService-with_branch-for-pr
# Commit to gitgit add git commit -m "better docs for GitOperationService#with_branch"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitOperationService-with_branch-for-pr
hub pull-request
# Celebrate!