blob: 49299ad4fa4bb125a02aba1c3c1b2423d5e12df2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
const { BeanModel } = require("redbean-node/dist/bean-model");
class RemoteBrowser extends BeanModel {
/**
* Returns an object that ready to parse to JSON
* @returns {object} Object ready to parse
*/
toJSON() {
return {
id: this.id,
url: this.url,
name: this.name,
};
}
}
module.exports = RemoteBrowser;
|