You are here

public function RestClientInterface::getVersions in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getVersions()
  2. 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getVersions()

Wrapper for "Versions" resource to list information about API releases.

Parameters

bool $reset: Whether to reset cache.

Return value

array Array of all available Salesforce versions, or empty array if version info is not available.

Throws

\GuzzleHttp\Exception\RequestException

1 method overrides RestClientInterface::getVersions()
RestClient::getVersions in src/Rest/RestClient.php
Wrapper for "Versions" resource to list information about API releases.

File

src/Rest/RestClientInterface.php, line 134

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function getVersions($reset = FALSE);