MCPcopy Index your code
hub / github.com/codecombat/codecombat / removeMember

Method removeMember

app/models/Classroom.js:109–116  ·  view source on GitHub ↗
(userID, opts)

Source from the content-addressed store, hash-verified

107 }
108
109 removeMember (userID, opts) {
110 const options = {
111 url: _.result(this, 'url') + `/members/${userID}`,
112 type: 'DELETE'
113 }
114 _.extend(options, opts)
115 return this.fetch(options)
116 }
117
118 setStudentPassword (student, password) {
119 const classroomID = this.id

Callers 3

classrooms.jsFile · 0.45
removeStudentMethod · 0.45

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected