blob: 424c48d975c51dac5a9f52db4ae794e8bb1b3a29 [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.vOLT-Collection
8 * @description Angular resource to fetch /api/tenant/cord/volt/:volt_id/
9 **/
10 .service('vOLT-Collection', function($resource){
11 return $resource('/api/tenant/cord/volt/:volt_id/', { volt_id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();