Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
Add /subscriptions endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ousmanedev committed Nov 20, 2016
1 parent ff8664b commit 17305d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Botamp/Client.php
Expand Up @@ -34,6 +34,8 @@ class Client

public $me;

public $subscriptions;

public function __construct($apiKey, HttpClient $httpClient = null)
{
$this->apiKey = $apiKey;
Expand Down Expand Up @@ -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);
}
}

0 comments on commit 17305d5

Please sign in to comment.