openfoodnetwork
https://github.com/openfoodfoundation/openfoodnetwork
Ruby
Connect suppliers, distributors and consumers to trade local produce.
Api::PropertySerializer#name
Client-side we don't care about the property name. Send the presentation since this is what we want to show to the user.
Edit
git clone [email protected]:openfoodfoundation/openfoodnetwork.git
cd openfoodnetwork
open app/serializers/api/property_serializer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Api--PropertySerializer-name-for-pr
# Commit to gitgit add app/serializers/api/property_serializer.rbgit commit -m "better docs for Api::PropertySerializer#name"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Api--PropertySerializer-name-for-pr
hub pull-request
# Celebrate!