mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-14 20:11:48 -05:00
20 lines
412 B
JavaScript
20 lines
412 B
JavaScript
let BaseModel;
|
|
|
|
function OrganizationModel (method, resource, graft) {
|
|
BaseModel.call(this, 'organizations');
|
|
|
|
this.Constructor = OrganizationModel;
|
|
|
|
return this.create(method, resource, graft);
|
|
}
|
|
|
|
function OrganizationModelLoader (_BaseModel_) {
|
|
BaseModel = _BaseModel_;
|
|
|
|
return OrganizationModel;
|
|
}
|
|
|
|
OrganizationModelLoader.$inject = ['BaseModel'];
|
|
|
|
export default OrganizationModelLoader;
|