8000 Add account/push_destinations API endpoint · codezninja/codebird-php@e0b6710 · GitHub
[go: up one dir, main page]

Skip to content

Commit e0b6710

Browse files
committed
8000
Add account/push_destinations API endpoint
1 parent 7cd1186 commit e0b6710

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

codebird.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class Codebird
103103
/**
104104
* The current Codebird version
105105
*/
106-
private $_version = '2.2.3-internal';
106+
private $_version = '2.2.4-internal';
107107

108108
/**
109109
* Returns singleton class instance
@@ -537,6 +537,7 @@ private function _detectMethod($method, $params)
537537
'users/recommendations',
538538

539539
// Internal
540+
'account/push_destinations',
540541
'activity/about_me',
541542
'activity/by_friends',
542543
'search/typeahead',
@@ -643,7 +644,10 @@ private function _detectOld($method)
643644
{
644645
$olds = array(
645646
// Users
646-
'users/recommendations'
647+
'users/recommendations',
648+
649+
// Internal
650+
'account/push_destinations'
647651
);
648652
return in_array($method, $olds);
649653
}
@@ -659,6 +663,7 @@ private function _detectInternal($method)
659663
{
660664
$internals = array(
661665
// Activity
666+
'account/push_destinations',
662667
'activity/about_me',
663668
'activity/by_friends',
664669
'discovery',

0 commit comments

Comments
 (0)
0