コード例 #1
0
ファイル: CloudTest.php プロジェクト: xabbuh/panda-client
 public function testDeleteProfile()
 {
     $profileId = md5(uniqid());
     $profile = new Profile();
     $profile->setId($profileId);
     $this->validateRequest('delete', '/profiles/' . $profileId . '.json');
     $this->cloud->deleteProfile($profile);
 }
コード例 #2
0
ファイル: Cloud.php プロジェクト: xabbuh/panda-client
 /**
  * {@inheritDoc}
  */
 public function deleteProfile(Profile $profile)
 {
     return $this->httpClient->delete('/profiles/' . $profile->getId() . '.json');
 }