You are here

public function Api::getServices in Fastly 8.3

Gets a list of services for the current customer.

File

src/Api.php, line 180

Class

Api
Fastly API for Drupal.

Namespace

Drupal\fastly

Code

public function getServices() {
  $response = $this
    ->query('/service');
  return $this
    ->json($response);
}