You are here

public function Fastly::getSettings in Fastly 7

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

Gets the settings for a version.

File

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

Class

Fastly
Fastly API for Drupal.

Code

public function getSettings() {
  $result = $this
    ->query('service/' . $this->service_id . '/version/' . $this
    ->getActiveVersion() . '/settings');
  return json_decode($result->data);
}