Class: RotationManager
Constructors
constructor
• new RotationManager(token)
Parameters
| Name | Type |
|---|---|
token | string |
Defined in
lib/managers/RotationManager.ts:7
Properties
#token
• Private #token: string
Defined in
lib/managers/RotationManager.ts:6
Methods
get
▸ get(options?): Promise<Event[]>
Get the events rotation from the API.
Parameters
| Name | Type | Description |
|---|---|---|
options? | RotationOptions | The options to for data formatting. |
Returns
Promise<Event[]>