Example #1
0
 public function getId()
 {
     return $this->commentId->getRawId();
 }
Example #2
0
 /**
  * https://qiita.com/api/v2/docs#delete-apiv2commentscomment_idthank
  * @param CommentId $commentId
  */
 public function deleteCommentsCommentIdThank(CommentId $commentId)
 {
     try {
         $response = $this->httpClient->delete($this->apiEntryPoint() . 'comments/' . $commentId->getRawId() . '/thank');
     } catch (\Exception $e) {
         return false;
     }
     return true;
 }