Esempio n. 1
-1
 /**
  * @param int $webhookId
  *
  * @return array
  * @throws WebshopappApiException
  */
 public function delete($webhookId)
 {
     return $this->client->delete('webhooks/' . $webhookId);
 }
Esempio n. 2
-1
 public function __construct()
 {
     $config = config('services.seoshop');
     return parent::__construct($config['env'], $config['key'], md5(Auth::user()->token . $config['secret']), Auth::user()->language);
 }
Esempio n. 3
-1
 public function getNumRetrieved()
 {
     return $this->api->getApiCallsMade();
 }
Esempio n. 4
-1
 function update($object_id = false, $data)
 {
     if ($this->update_request) {
         if ($object_id) {
             $fields = array($this->update_resource => $data);
             return $this->client->update($this->resource . '/' . $object_id, $fields, $this->update_resource);
         }
     }
 }