processInvite(invitation, accept) {
      const params = [
        new HttpParam('printerid', invitation.destination.id),
        new HttpParam('email', invitation.scopeId),
        new HttpParam('accept', accept ? 'true' : 'false'),
        new HttpParam('use_cdd', 'true'),
      ];
      this.sendOrQueueRequest_(this.buildRequest_(
          'POST', 'processinvite', params, invitation.destination.origin,
          invitation.destination.account,
          this.onProcessInviteDone_.bind(this, invitation, accept)));
    }
/**
     * Accepts or rejects printer sharing invitation.
     * @param {!print_preview.Invitation} invitation Invitation to process.
     * @param {boolean} accept Whether to accept this invitation.
     */
Accepts or rejects printer sharing invitation.
@param {!print_preview.Invitation} invitation Invitation to process.
@param {boolean} accept Whether to accept this invitation.
Accepts or rejects printer sharing invitation . @param { !print_preview . Invitation } invitation Invitation to process . @param { boolean } accept Whether to accept this invitation .
processInvite(invitation, accept) {
      const params = [
        new HttpParam('printerid', invitation.destination.id),
        new HttpParam('email', invitation.scopeId),
        new HttpParam('accept', accept ? 'true' : 'false'),
        new HttpParam('use_cdd', 'true'),
      ];
      this.sendOrQueueRequest_(this.buildRequest_(
          'POST', 'processinvite', params, invitation.destination.origin,
          invitation.destination.account,
          this.onProcessInviteDone_.bind(this, invitation, accept)));
    }
processInvite ( invitation , accept ) { const params = [ new HttpParam ( 'printerid' , invitation . destination . id ) , new HttpParam ( 'email' , invitation . scopeId ) , new HttpParam ( 'accept' , accept ? 'true' : 'false' ) , new HttpParam ( 'use_cdd' , 'true' ) , ] ; this . sendOrQueueRequest_ ( this . buildRequest_ ( 'POST' , 'processinvite' , params , invitation . destination . origin , invitation . destination . account , this . onProcessInviteDone_ . bind ( this , invitation , accept ) ) ) ; }
Accepts or rejects printer sharing invitation.
Accepts or rejects printer sharing invitation .