* Attaches the job to a client. This is called automatically when you define a job using `client.defineJob()`.
(client: TriggerClient)
| 121 | * Attaches the job to a client. This is called automatically when you define a job using `client.defineJob()`. |
| 122 | */ |
| 123 | attachToClient(client: TriggerClient) { |
| 124 | client.attach(this); |
| 125 | return this; |
| 126 | } |
| 127 | |
| 128 | get id() { |
| 129 | return slugifyId(this.options.id); |