blob: 7af90160eeb6185cb3c2ae3966d625995517d229 [file] [log] [blame]
Matteo Scandoloa5d03d52016-07-21 11:35:46 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
7 * @name xos.helpers.Truckroll
8 * @description Angular resource to fetch /api/tenant/truckroll/:id/
9 **/
10 .service('Truckroll', function($resource){
11 return $resource('/api/tenant/truckroll/:id/', { id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();