UNPKG

bmw-js

Version:

BMW javascript REST client for the BMW i3 hackathon.

34 lines (25 loc) 765 B
MojioModel = require('./MojioModel') module.exports = class App extends MojioModel # instance variables _schema: { "Type": "String", "Name": "String", "Description": "String", "CreationDate": "String", "Downloads": "Integer", "RedirectUris": "String", "ApplicationType": "String", "_id": "String", "_deleted": "Boolean" } _resource: 'Apps' _model: 'App' constructor: (json) -> super(json) # class variables and functions @_resource: 'Apps' @_model: 'App' @resource: () -> return App._resource @model: () -> return App._model