Files
awx/awx/ui/client/lib/models/NotificationTemplate.js
2018-02-13 17:15:26 -05:00

22 lines
458 B
JavaScript

let Base;
function NotificationTemplateModel (method, resource, config) {
Base.call(this, 'notification_templates');
this.Constructor = NotificationTemplateModel;
return this.create(method, resource, config);
}
function NotificationTemplateModelLoader (BaseModel) {
Base = BaseModel;
return NotificationTemplateModel;
}
NotificationTemplateModelLoader.$inject = [
'BaseModel'
];
export default NotificationTemplateModelLoader;