| 1 | <?php |
||
| 6 | class Apikey extends Base |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Private constructor so only the client can create this |
||
| 10 | * @param Client $client |
||
| 11 | */ |
||
| 12 | 16 | public function __construct(Client $client) |
|
| 17 | |||
| 18 | /** |
||
| 19 | * Get all apikeys |
||
| 20 | * @param object Containing query arguments |
||
| 21 | * @return object Result of the request |
||
| 22 | */ |
||
| 23 | public function Get($args = array("limit" => 50)) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Create a new apikey |
||
| 30 | * @param object Containing all values of the apikey |
||
| 31 | * @return object Result of the request |
||
| 32 | */ |
||
| 33 | public function Create($apikey) |
||
| 37 | } |
||
| 38 |