mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
8 lines
No EOL
237 B
CoffeeScript
8 lines
No EOL
237 B
CoffeeScript
CocoModel = require('./CocoModel')
|
|
|
|
module.exports = class PatchModel extends CocoModel
|
|
@className: "Patch"
|
|
urlRoot: "/db/patch"
|
|
|
|
setStatus: (status) ->
|
|
$.ajax("/db/patch/#{@id}/status", {type:"PUT", data: {status:status}}) |