From f86b2867bf499177b9ea6f70dfa6da28a9438eaf Mon Sep 17 00:00:00 2001 From: Lasse Rafn Date: Mon, 5 Dec 2016 14:44:24 +0100 Subject: [PATCH] Removed lol() function. sorry --- src/Utils/Request.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Utils/Request.php b/src/Utils/Request.php index 03f26d8..70b12f1 100644 --- a/src/Utils/Request.php +++ b/src/Utils/Request.php @@ -18,20 +18,4 @@ public function __construct($agreementToken = '') ] ] ); } - - - function lol() - { - // fixme! - try - { - $url = config( 'pipedrive.endpoint' ) . $this->buildEntity( $entity, $id, $fields ) . '?api_token=' . $this-$this->api_token . '&start=' . $start . '&limit=' . $limit; - $response = $this->curl->get( $url ); - - return $this->getData( $response->getBody() ); - } catch ( \Exception $exception ) - { - throw new \Exception( $exception->getMessage(), $exception->getCode() ); - } - } } \ No newline at end of file