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.
Roster::Creator.perform
Public: Create a Roster for an Organiation.
organization - The Organization the Roster will belong to.
identifier_name - The name of the identifiers for the Roster.
options - The Hash of options.
Examples
Roster::Creator.perform(
organization: current_organization,
identifier_name: "Email",
options
)
Returns an Roster::Creator::Result.Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/roster/creator.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Roster--Creator-perform-for-pr
# Commit to gitgit add app/models/roster/creator.rbgit commit -m "better docs for Roster::Creator.perform"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Roster--Creator-perform-for-pr
hub pull-request
# Celebrate!