original_string: public function createEmbeddedSignatureRequest(EmbeddedSignatureRequest $request)
      {
          $params = $request->toParams();
  
          // choose url
          $url = $request->isUsingTemplate()
              ? static::SIGNATURE_REQUEST_EMBEDDED_TEMPLATE_PATH
              : static::SIGNATURE_REQUEST_EMBEDDED_PATH;
  
          $response = $this->rest->post($url, $params);
  
          $this->checkResponse($response);
  
          return new SignatureRequest($response);
      }
code: public function createEmbeddedSignatureRequest(EmbeddedSignatureRequest $request)
      {
          $params = $request->toParams();
  
          // choose url
          $url = $request->isUsingTemplate()
              ? static::SIGNATURE_REQUEST_EMBEDDED_TEMPLATE_PATH
              : static::SIGNATURE_REQUEST_EMBEDDED_PATH;
  
          $response = $this->rest->post($url, $params);
  
          $this->checkResponse($response);
  
          return new SignatureRequest($response);
      }
code_tokens: public function createEmbeddedSignatureRequest ( EmbeddedSignatureRequest $ request ) { $ params = $ request -> toParams ( ) ; // choose url $ url = $ request -> isUsingTemplate ( ) ? static :: SIGNATURE_REQUEST_EMBEDDED_TEMPLATE_PATH : static :: SIGNATURE_REQUEST_EMBEDDED_PATH ; $ response = $ this -> rest -> post ( $ url , $ params ) ; $ this -> checkResponse ( $ response ) ; return new SignatureRequest ( $ response ) ; }
docstring: Creates a SignatureRequest that can be embedded within your website
  
  @param  EmbeddedSignatureRequest $request
  @return SignatureRequest
  @throws BaseException
docstring_tokens: Creates a SignatureRequest that can be embedded within your website