dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

API::Helpers#current_user

rubocop:disable Gitlab/ModuleWithInstanceVariables
We can't rewrite this with StrongMemoize because `sudo!` would
actually write to `@current_user`, and `sudo?` would immediately
call `current_user` again which reads from `@current_user`.
We should rewrite this in a way that using StrongMemoize is possible

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-API--Helpers-current_user-for-pr


# Commit to git

git add git commit -m "better docs for API::Helpers#current_user"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-API--Helpers-current_user-for-pr

hub pull-request


# Celebrate!