protected function initVars($method, $path, Array $path_args, Array $data) {
    $this->method = $method;
    $this->path = $path;
    $this->path_args = $path_args;
  }
protected function initVars($method, $path, Array $path_args, Array $data) {
    $this->method = $method;
    $this->path = $path;
    $this->path_args = $path_args;
  }
protected function initVars ( $ method , $ path , Array $ path_args , Array $ data ) { $ this -> method = $ method ; $ this -> path = $ path ; $ this -> path_args = $ path_args ; }
Initialize variables needed to make a request.

@param (string) $method Request method (POST/GET/DELETE).
@param (string) $path Path to API endpoint.
@param (array) $path_args Endpoint path arguments to replace tokens in the path.
@param (array) $data Data to pass to the endpoint.

@see PublisherAPI::post().
Initialize variables needed to make a request .