classroom

https://github.com/education/classroom

Ruby

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.

GitHub::WebHook.webhook_secret

Internal: Returns the GitHub Webhook secret for the application.

Returns the secret String or raises an error if it is not defined.

Source | Google | Stack overflow

Edit

git clone [email protected]:education/classroom.git

cd classroom

open lib/github/web_hook.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GitHub--WebHook-webhook_secret-for-pr


# Commit to git

git add lib/github/web_hook.rbgit commit -m "better docs for GitHub::WebHook.webhook_secret"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-GitHub--WebHook-webhook_secret-for-pr

hub pull-request


# Celebrate!