You are here

public function ZoomAPI::__construct in Zoom API 7

Class constructor.

File

includes/zoomapi.classes.inc, line 37
Base class for the Zoom API.

Class

ZoomAPI
Zoom API Base Class.

Code

public function __construct() {
  $this->apiKey = variable_get('zoomapi_key', FALSE);
  $this->apiSecret = variable_get('zoomapi_secret', FALSE);
  $this->apiUrl = 'https://' . trim(variable_get('zoomapi_url', 'api.zoom.us/v1'), '/') . '/';
}