Sha256: cbfb528db6612bc6312216bf6b5cb1e21f727ec0a8f995f2114a0ba235babad0

Contents?: true

Size: 607 Bytes

Versions: 6

Compression:

Stored size: 607 Bytes

Contents

(function () {
    'use strict';

    /**
     * @ngdoc factory
     * @name  Bastion.puppet-modules.factory:File
     *
     * @description
     *   Provides a BastionResource for interacting with Files
     */
    function File(BastionResource) {

        return BastionResource('katello/api/v2/files/:id',
            {'id': '@id'},
            {
                autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}
            }
        );

    }

    angular
        .module('Bastion.files')
        .factory('File', File);

    File.$inject = ['BastionResource'];

})();

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katello-3.5.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.5.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.5.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.5.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js