From 18116d419e788b2ae13404e5b039c89cf60345fd Mon Sep 17 00:00:00 2001 From: Rahmane OUSMANE Date: Wed, 14 Dec 2016 13:21:13 +0800 Subject: [PATCH] Add contacts endpoint --- lib/Botamp/Client.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Botamp/Client.php b/lib/Botamp/Client.php index b616a53..bc688f7 100644 --- a/lib/Botamp/Client.php +++ b/lib/Botamp/Client.php @@ -36,6 +36,8 @@ class Client public $subscriptions; + public $contacts; + public function __construct($apiKey, HttpClient $httpClient = null) { $this->apiKey = $apiKey; @@ -98,5 +100,6 @@ private function bindResources() $this->entities = new ApiResource('entities', $this); $this->me = new ApiResource('me', $this); $this->subscriptions = new ApiResource('subscriptions', $this); + $this->contacts = new ApiResource('contacts', $this); } }