blob: 57e5537d413b361cf5e60eac65e01ca0932ad70f [file] [log] [blame]
(function() {
'use strict';
angular.module('xos.helpers')
/**
* @ngdoc service
* @name xos.helpers.Instances
* @description Angular resource to fetch /api/core/instances/:instance_id/
**/
.service('Instances', function($resource){
return $resource('/api/core/instances/:instance_id/', { instance_id: '@id' });
})
})();