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