You are here

public function Fastly::getServices in Fastly 7.2

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

Gets a list of services for the current customer.

File

./fastly.api.inc, line 56
Contains Faslt class that handles API calls to the Fastly service.

Class

Fastly
Fastly API for Drupal.

Code

public function getServices() {
  $result = $this
    ->query('service');
  return json_decode($result->data);
}