public function Fastly::validate in Fastly 7
Same name and namespace in other branches
- 7.2 fastly.api.inc \Fastly::validate()
Used to validate API key and service ID.
Return value
bool FALSE if any corrupt data is passed.
File
- ./
fastly.api.inc, line 45 - Contains Faslt class that handles API calls to the Fastly service.
Class
- Fastly
- Fastly API for Drupal.
Code
public function validate() {
return $this
->query('current_customer')->status_message == 'OK';
}