code: function(type, callback) {
  
          if (typeof(type) === 'function') {
              callback = type;
              type = 'soft';
          }
  
          this.doServerAction(
              {
                  action: {
                      'reboot': { 'type': type.toUpperCase() }
                  }
              }, callback);
      }
docs: @name Server.reboot
  @description reboots the server, optionally providing type of reboot.
  @param {String|Function} type        An optional string (soft|hard) for the
  reboot. Soft is default if not provided.
  
  @param {Function}        callback    handles the callback of your api call