1 | <?php |
||
4 | class Apikey extends Base |
||
5 | { |
||
6 | /** |
||
7 | * Private constructor so only the client can create this |
||
8 | * @param string $apikey |
||
9 | */ |
||
10 | 8 | public function __construct($apikey) |
|
14 | |||
15 | /** |
||
16 | * Get all apikeys |
||
17 | * @param object Containing query arguments |
||
18 | * @return object Result of the request |
||
19 | */ |
||
20 | 2 | public function Get($args = array("limit" => 50)) |
|
24 | |||
25 | /** |
||
26 | * Create a new apikey |
||
27 | * @param object Containing all values of the apikey |
||
28 | * @return object Result of the request |
||
29 | */ |
||
30 | 2 | public function Create($apikey) |
|
34 | } |
||
35 |