overseer-js-sdk
Version:
This SDK for Overseer.
22 lines (19 loc) • 568 B
JavaScript
(function () {
this.Users = function () {}
Users.prototype = Object.create(Collection.prototype);
Users.prototype.constructor = Users;
Users.prototype.model = function (attributes) {
return new User(attributes);
}
}());
(function () {
this.User = function (attributes) {
this.attributes = {};
this.oldAttributes = {};
this.relations = {};
this.fillable = {};
this.fill(attributes);
}
User.prototype = Object.create(Model.prototype);
User.prototype.constructor = User;
}());