From 256626e857df03578995999a46d72b19086ea845 Mon Sep 17 00:00:00 2001 From: Willem Staels Date: Wed, 20 Sep 2017 12:20:22 +0200 Subject: [PATCH] Add details method for pockets --- src/Pocket.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Pocket.php b/src/Pocket.php index fc4db8d..ba66f32 100644 --- a/src/Pocket.php +++ b/src/Pocket.php @@ -15,6 +15,10 @@ public function __construct(Connection $connection, $uid) { $this->uid = $uid; } + public function details() { + return $this->connection->send('collect/' . $this->uid,'pocket',$this); + } + public function tickets() { return $this->connection->send('collect/' . $this->uid . '/tickets','pocket',$this); }