gitlab

https://github.com/narkoz/gitlab

Ruby

Ruby wrapper and CLI for GitLab REST API

Gitlab::Client::Projects#project_forks

Get a list of all visible projects across GitLab for the authenticated user.
When accessed without authentication, only public projects are returned.

Note: This feature was introduced in GitLab 10.1

Source | Google | Stack overflow

Edit

git clone [email protected]:narkoz/gitlab.git

cd gitlab

open lib/gitlab/client/projects.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--Client--Projects-project_forks-for-pr


# Commit to git

git add lib/gitlab/client/projects.rbgit commit -m "better docs for Gitlab::Client::Projects#project_forks"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--Client--Projects-project_forks-for-pr

hub pull-request


# Celebrate!