blob: 1791021325f9f8b6333cef4dec0ab8a22074f21d [file] [log] [blame]
Matteo Scandoloe19fa102017-03-09 15:38:59 -08001export class XosVtrTruckroll {
2
3 static $inject = [
4 '$resource',
5 'AppConfig'
6 ];
7
8 constructor(
9 private $resource: ng.resource.IResourceService,
10 private AppConfig: any
11 ) {
12
13 }
14
15 public getResource() {
16 return this.$resource(`${this.AppConfig.apiEndpoint}/vtr/vtrtenants/:id/`, { id: '@id' }, {
17 update: { method: 'PUT' }
18 });
19 }
20}