Example #1
0
 private function download($apiUrl)
 {
     $args = func_get_args();
     $args[0] = $this->context->getToken();
     $this->requestUrl = $this->context->getUrl() . vsprintf($apiUrl, $args);
     return $this->context->getQueue()->download($this->context->getToken(), $this->requestUrl);
 }
Example #2
0
 /** @return string */
 private function getUrl()
 {
     return $this->context->getUrl() . 'import/';
 }