/** * Trigger a GET request * * @param array $resource Mailjet Resource/Action pair * @param array $args Request arguments * * @return Response */ public function delete($resource, $args = []) { $response = parent::delete($resource, $args); $this->calls[] = ['method' => 'DELETE', 'resource' => $resource, 'args' => $args, 'success' => $response->success(), 'response' => $response->getBody()]; return $response; }