templates/interface/js/ngapimock.controller.js
function delayMock(mock, delay) {
            mockService.update({'identifier': mock.identifier, 'delay': delay}, function () {
                vm.delays[mock.identifier] = delay;
            });
        }
function delayMock(mock, delay) {
            mockService.update({'identifier': mock.identifier, 'delay': delay}, function () {
                vm.delays[mock.identifier] = delay;
            });
        }
function delayMock ( mock , delay ) { mockService . update ( { 'identifier' : mock . identifier , 'delay' : delay } , function ( ) { vm . delays [ mock . identifier ] = delay ; } ) ; }
Update the given Delay time.
@param mock The mock.
@param delay The delay.
Update the given Delay time .