Base
abstract class Base (View source)
Base Client class.
Constants
DEFAULT_API_BASE_URL |
|
DEFAULT_API_VERSION |
|
API_KEY_HEADER |
|
API_VERSION_HEADER |
|
Properties
protected ClientInterface | $client | Client to access Rokka. |
Methods
__construct(ClientInterface $client)
Constructor.
setCredentials(string $key, string $secret)
Set the credentials.
Response
call(string $method, string $path, array $options = [], bool $needsCredentials = true)
Call the API rokka endpoint.
Details
__construct(ClientInterface $client)
Constructor.
setCredentials(string $key, string $secret)
Set the credentials.
protected Response
call(string $method, string $path, array $options = [], bool $needsCredentials = true)
Call the API rokka endpoint.