You are here

public function Fastly::purgeAll in Fastly 7

Same name and namespace in other branches
  1. 7.2 fastly.api.inc \Fastly::purgeAll()

Purge whole service.

File

./fastly.api.inc, line 117
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');
}