Sha256: ba76f5d3c5fa85c347f74465e83c11cd111f2eec6e51d579055424b421f2d2e1
Contents?: true
Size: 1.19 KB
Versions: 18
Compression:
Stored size: 1.19 KB
Contents
/** * @ngdoc service * @name Bastion.content-views.factory:ContentViewComponent * * @requires BastionResource * @requires CurrentOrganization * * @description * Provides a BastionResource for interacting with content view components. */ angular.module('Bastion.content-views').factory('ContentViewComponent', ['BastionResource', 'CurrentOrganization', function (BastionResource, CurrentOrganization) { return BastionResource('/katello/api/v2/content_views/:compositeContentViewId/content_view_components/:id/:action', {id: '@id', compositeContentViewId: '@compositeContentViewId', 'organization_id': CurrentOrganization}, { update: {method: 'PUT'}, removeComponents: { method: 'PUT', isArray: false, url: '/katello/api/v2/content_views/:compositeContentViewId/content_view_components/remove' }, addComponents: { method: 'PUT', isArray: false, url: '/katello/api/v2/content_views/:compositeContentViewId/content_view_components/add' } } ); }] );
Version data entries
18 entries across 18 versions & 1 rubygems