blob: 8feb102886210a64421b9f52671085fdb0c156e8 [file] [log] [blame]
Matteo Scandolo83d0ee12016-05-06 16:52:58 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
7 * @name xos.helpers.Tenant
8 * @description Angular resource to fetch /api/core/tenant/:id/
9 **/
10 .service('Tenants', function($resource){
11 return $resource('/api/core/tenants/:id/', { id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();