public function Fastly::purgeAll in Fastly 7.2
Same name and namespace in other branches
- 7 fastly.api.inc \Fastly::purgeAll()
Purge whole service.
File
- ./
fastly.api.inc, line 134 - Contains Faslt class that handles API calls to the Fastly service.
Class
- Fastly
- Fastly API for Drupal.
Code
public function purgeAll() {
$this
->query('service/' . $this->service_id . '/purge_all', array(), 'POST');
$this->webhook
->sendMessage(t("Purge all is executed"), "INFO", "purge_actions");
}