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.
GitHubModel#github_classroom_request
Internal: Make a GitHub API request for a resource id - The Interger id of the resource on GitHub options - A Hash of options to pass (optional). Returns a Sawyer::Resource or nil if an error occured.
Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/github_model.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitHubModel-github_classroom_request-for-pr
# Commit to gitgit add app/models/github_model.rbgit commit -m "better docs for GitHubModel#github_classroom_request"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitHubModel-github_classroom_request-for-pr
hub pull-request
# Celebrate!