Sha256: 0d72257bf7f48e374b398771b5dbb0b207909cb15750ed30435d1fcf6c811641
Contents?: true
Size: 722 Bytes
Versions: 47
Compression:
Stored size: 722 Bytes
Contents
/** * @ngdoc service * @name Bastion.environments.factory:Environment * * @requires BastionResource * @requires CurrentOrganization * * @description * Provides a BastionResource for interacting with environments. */ angular.module('Bastion.environments').factory('Environment', ['BastionResource', 'CurrentOrganization', function (BastionResource, CurrentOrganization) { return BastionResource('/katello/api/v2/environments/:id/:action', {id: '@id', 'organization_id': CurrentOrganization}, { autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}, update: {method: 'PUT'} } ); }] );
Version data entries
47 entries across 47 versions & 1 rubygems