(code, opts)
| 75 | } |
| 76 | |
| 77 | fetchByCode (code, opts) { |
| 78 | const options = { |
| 79 | url: _.result(this, 'url'), |
| 80 | data: { code, 'with-owner': true } |
| 81 | } |
| 82 | _.extend(options, opts) |
| 83 | return this.fetch(options) |
| 84 | } |
| 85 | |
| 86 | getLevelNumber (levelID, defaultNumber, courseID) { |
| 87 | // deal with duplicated levels in different course |
no test coverage detected