blob: 7af90160eeb6185cb3c2ae3966d625995517d229 [file] [log] [blame]
(function() {
'use strict';
angular.module('xos.helpers')
/**
* @ngdoc service
* @name xos.helpers.Truckroll
* @description Angular resource to fetch /api/tenant/truckroll/:id/
**/
.service('Truckroll', function($resource){
return $resource('/api/tenant/truckroll/:id/', { id: '@id' }, {
update: { method: 'PUT' }
});
})
})();