/** * @param int $webhookId * * @return array * @throws WebshopappApiException */ public function delete($webhookId) { return $this->client->delete('webhooks/' . $webhookId); }
public function __construct() { $config = config('services.seoshop'); return parent::__construct($config['env'], $config['key'], md5(Auth::user()->token . $config['secret']), Auth::user()->language); }
public function getNumRetrieved() { return $this->api->getApiCallsMade(); }
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); } } }