# lib/Utils/SetupTTLs.js

    import SERVICES from '../Enums/services';
    import METHOD_NAMES from '../Enums/method-names';

    function setupTTLs(ttls) {
        const keys = Object.keys(ttls);
        const newTTLs = {};

        if (keys.indexOf(SERVICES.SUMMONER) !== -1) {
            Object.keys(METHOD_NAMES.SUMMONER).forEach(el => {
                newTTLs[el] = ttls[SERVICES.SUMMONER];
            });
        }

        console.log(newTTLs);

        return newTTLs;
    }

    export default setupTTLs;