From 17305d54091804be8caa8726537d0c823050bbe3 Mon Sep 17 00:00:00 2001 From: Rahmane OUSMANE Date: Sun, 20 Nov 2016 12:50:58 +0800 Subject: [PATCH] Add /subscriptions endpoint --- lib/Botamp/Client.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Botamp/Client.php b/lib/Botamp/Client.php index ee58ce1..b616a53 100644 --- a/lib/Botamp/Client.php +++ b/lib/Botamp/Client.php @@ -34,6 +34,8 @@ class Client public $me; + public $subscriptions; + public function __construct($apiKey, HttpClient $httpClient = null) { $this->apiKey = $apiKey; @@ -95,5 +97,6 @@ private function bindResources() { $this->entities = new ApiResource('entities', $this); $this->me = new ApiResource('me', $this); + $this->subscriptions = new ApiResource('subscriptions', $this); } }