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#set_github_no_cache_methods

Internal: Define specified *_no_cache methods

client - The Octokit::Client making the request
id     - The Interger id for the resource

Returns an Sawyer::Resource or a Null:GitHubObject

Source | Google | Stack overflow

Edit

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

cd classroom

open app/models/github_model.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GitHubModel-set_github_no_cache_methods-for-pr


# Commit to git

git add app/models/github_model.rbgit commit -m "better docs for GitHubModel#set_github_no_cache_methods"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-GitHubModel-set_github_no_cache_methods-for-pr

hub pull-request


# Celebrate!