Sha256: df3c4bb13a6ea0c9753c684188a8c5bf82f57983f73fd7434e3288a9e2a13475
Contents?: true
Size: 1.19 KB
Versions: 149
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
149 entries across 149 versions & 1 rubygems