Sha256: a53815dcf552e39cf42237bc41742e1487d5dfcca2c1c7793d1138bd5e1a8a67
Contents?: true
Size: 721 Bytes
Versions: 201
Compression:
Stored size: 721 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
201 entries across 201 versions & 1 rubygems