You are here

public function TestRestClient::isInit in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::isInit()

Check if the client is ready to perform API calls.

TRUE indicates that the various dependencies are in place to initiate an API call. It does NOT indicate that the API call will be successful, or return a 200 status.

Return value

bool FALSE if the client is not initialized. TRUE otherwise.

Overrides RestClient::isInit

File

src/Tests/TestRestClient.php, line 27

Class

TestRestClient
Test Salesforce REST client.

Namespace

Drupal\salesforce\Tests

Code

public function isInit() {
  return TRUE;
}