grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Gitlab::GithubImport::Client#each_object
Iterates over all of the objects for the given method (e.g. `:labels`). method - The method to send to Octokit for querying data. args - Any arguments to pass to the Octokit method.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--GithubImport--Client-each_object-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::GithubImport::Client#each_object"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--GithubImport--Client-each_object-for-pr
hub pull-request
# Celebrate!