openfoodnetwork

https://github.com/openfoodfoundation/openfoodnetwork

Ruby

Connect suppliers, distributors and consumers to trade local produce.

DfcRequest#refresh_access_token!

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:openfoodfoundation/openfoodnetwork.git

cd openfoodnetwork

open engines/dfc_provider/app/services/dfc_request.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-DfcRequest-refresh_access_token--for-pr


# Commit to git

git add engines/dfc_provider/app/services/dfc_request.rbgit commit -m "better docs for DfcRequest#refresh_access_token!"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-DfcRequest-refresh_access_token--for-pr

hub pull-request


# Celebrate!