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.

InvitationsControllerMethods#required_scopes

Private: Return the GitHub API
token scopes needed for the controller.

Example:

 required_scopes
 # => ["user:email"]

Returns an Array of Strings.

Source | Google | Stack overflow

Edit

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

cd classroom

open app/controllers/invitations_controller_methods.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-InvitationsControllerMethods-required_scopes-for-pr


# Commit to git

git add app/controllers/invitations_controller_methods.rbgit commit -m "better docs for InvitationsControllerMethods#required_scopes"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-InvitationsControllerMethods-required_scopes-for-pr

hub pull-request


# Celebrate!