<?php require dirname(__DIR__) . '/../vendor/autoload.php'; use keika299\ConohaAPI\Conoha; $client = new Conoha(array('username' => 'ConoHa', 'password' => 'paSSword123456#$%', 'tenantId' => '487727e3921d44e3bfe7ebb337bf085e')); $accountService = $client->accountService(); echo json_encode($accountService->getVersionInfo());
<?php require dirname(__DIR__) . '/../vendor/autoload.php'; use keika299\ConohaAPI\Conoha; $client = new Conoha(); $identityService = $client->accountService(); echo json_encode($identityService->getVersionInfo());
public function testAccountService() { $this->assertInstanceOf('\\keika299\\ConohaAPI\\Account\\Service', $this->client->accountService()); }