Property | Type | Description | |
---|---|---|---|
$apiBase | The base URL for the Pingpp API. | ||
$apiKey | The Pingpp API key to be used for requests. | ||
$apiVersion | The version of the Pingpp API to use for requests. | ||
$privateKey | The PEM formatted private key to be used for signing requests. | ||
$privateKeyPath | The private key path to be used for signing requests. | ||
$verifySslCerts | Defaults to true. |
Method | Description | |
---|---|---|
getApiKey ( ) : string | ||
getApiVersion ( ) : string | ||
getPrivateKey ( ) : string | ||
getPrivateKeyPath ( ) : string | ||
getVerifySslCerts ( ) : boolean | ||
setApiKey ( string $apiKey ) | Sets the API key to be used for requests. | |
setApiVersion ( string $apiVersion ) | ||
setPrivateKey ( string $key ) | ||
setPrivateKeyPath ( string $path ) | ||
setVerifySslCerts ( boolean $verify ) |
public static getApiVersion ( ) : string | ||
return | string | The API version used for requests. null if we're using the latest version. |
public static getVerifySslCerts ( ) : boolean | ||
return | boolean |
public static setApiVersion ( string $apiVersion ) | ||
$apiVersion | string | The API version to use for requests. |
public static setPrivateKeyPath ( string $path ) | ||
$path | string |
public static setVerifySslCerts ( boolean $verify ) | ||
$verify | boolean |
public static $apiKey |
public static $apiVersion |
public static $privateKey |
public static $privateKeyPath |