@@ -28,30 +28,30 @@ |
||
| 28 | 28 | |
| 29 | 29 | class Bsd { |
| 30 | 30 | |
| 31 | - private $url; |
|
| 32 | - private $api; |
|
| 31 | + private $url; |
|
| 32 | + private $api; |
|
| 33 | 33 | |
| 34 | - public function __construct(ApiInterface $api) |
|
| 35 | - { |
|
| 36 | - $this->api = $api; |
|
| 37 | - $this->url = 'https://api-ssl.bitly.com/v4/bsds'; |
|
| 38 | - } |
|
| 34 | + public function __construct(ApiInterface $api) |
|
| 35 | + { |
|
| 36 | + $this->api = $api; |
|
| 37 | + $this->url = 'https://api-ssl.bitly.com/v4/bsds'; |
|
| 38 | + } |
|
| 39 | 39 | |
| 40 | - /* |
|
| 40 | + /* |
|
| 41 | 41 | Get BSDs |
| 42 | 42 | https://dev.bitly.com/api-reference#getBSDs |
| 43 | 43 | */ |
| 44 | - public function getBSDs() |
|
| 45 | - { |
|
| 46 | - return $this->api->get($this->url); |
|
| 47 | - } |
|
| 44 | + public function getBSDs() |
|
| 45 | + { |
|
| 46 | + return $this->api->get($this->url); |
|
| 47 | + } |
|
| 48 | 48 | |
| 49 | - /* |
|
| 49 | + /* |
|
| 50 | 50 | Group Overrides |
| 51 | 51 | https://dev.bitly.com/api-reference/#getOverridesForGroups |
| 52 | 52 | */ |
| 53 | - public function getOverridesForGroups(string $group_guid, array $params = array()) |
|
| 54 | - { |
|
| 55 | - return $this->api->get('https://api-ssl.bitly.com/v4/groups/'.$group_guid.'/overrides', $params); |
|
| 56 | - } |
|
| 53 | + public function getOverridesForGroups(string $group_guid, array $params = array()) |
|
| 54 | + { |
|
| 55 | + return $this->api->get('https://api-ssl.bitly.com/v4/groups/'.$group_guid.'/overrides', $params); |
|
| 56 | + } |
|
| 57 | 57 | } |