Sha256: 484d5ccd72d15a892aacebf4c579472aefa33b998439fdc2b642d9078dd7fab4
Contents?: true
Size: 680 Bytes
Versions: 18
Compression:
Stored size: 680 Bytes
Contents
/** * @ngdoc service * @name Bastion.products.factory:Product * * @requires BastionResource * * @description * Provides a BastionResource for product or list of products. */ angular.module('Bastion.products').factory('Product', ['BastionResource', function (BastionResource) { return BastionResource('/katello/api/v2/products/:id/:action', {id: '@id'}, { update: { method: 'PUT'}, sync: { method: 'POST', params: { action: 'sync' }}, updateSyncPlan: { method: 'POST', params: { action: 'sync_plan' }}, autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}} }); }] );
Version data entries
18 entries across 18 versions & 1 rubygems