rails_admin

https://github.com/railsadminteam/rails_admin

Ruby

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data

Gitlab::GitalyClient.call

All Gitaly RPC call sites should use GitalyClient.call. This method
makes sure that per-request authentication headers are set.

This method optionally takes a block which receives the keyword
arguments hash 'kwargs' that will be passed to gRPC. This allows the
caller to modify or augment the keyword arguments. The block must
return a hash.

For example:

GitalyClient.call(storage, service, rpc, request) do |kwargs|
  kwargs.merge(deadline: Time.now + 10)
end

Source | Google | Stack overflow

Edit

git clone [email protected]:railsadminteam/rails_admin.git

cd rails_admin

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--GitalyClient-call-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::GitalyClient.call"


# 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--GitalyClient-call-for-pr

hub pull-request


# Celebrate!