()
| 38 | } |
| 39 | |
| 40 | async _init() { |
| 41 | this.logger.log( |
| 42 | 'Retrieve', |
| 43 | this.type, |
| 44 | this.kitsuSlug ? `Kitsu: ${this.kitsuSlug}` : `MAL: ${this.malId}`, |
| 45 | ); |
| 46 | |
| 47 | await this.getData(); |
| 48 | this.logger.log('Data', this.animeInfo); |
| 49 | |
| 50 | this.title(); |
| 51 | this.description(); |
| 52 | this.image(); |
| 53 | this.alternativeTitle(); |
| 54 | this.characters(); |
| 55 | this.statistics(); |
| 56 | this.info(); |
| 57 | this.related(); |
| 58 | |
| 59 | this.logger.log('Res', this.meta); |
| 60 | } |
| 61 | |
| 62 | private async getData() { |
| 63 | if (!this.kitsuSlug) { |
nothing calls this directly
no test coverage detected