You are here

public function Fastly::getServices in Fastly 7

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

Gets a list of services for the current customer.

File

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