job/disable.js

'use strict';

/**
 * Prevents the job type from running
 * @name Job#disable
 * @function
 * @returns {exports} instance of Job
 */
module.exports = function() {
  this.attrs.disabled = true;
  return this;
};