| 1 | package Net::Async::Spotify::Object::Artist; | ||
| 2 | |||
| 3 | 31 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 31 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 31 | our $VERSION = '0.002'; # VERSION | |
| 7 | 31 | our $AUTHORITY = 'cpan:VNEALV'; # AUTHORITY | |
| 8 | |||
| 9 | 31 | ▶ | use mro; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 31 | ▶ | use parent qw(Net::Async::Spotify::Object::Generated::Artist); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | =encoding utf8 | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Net::Async::Spotify::Object::Artist - Package representing Main Spotify Artist Object | ||
| 17 | |||
| 18 | =head1 DESCRIPTION | ||
| 19 | |||
| 20 | Main module for an Autogenerated one L<Net::Async::Spotify::Object::Generated::Artist>. | ||
| 21 | Will hold all extra functionality for Spotify Artist Object | ||
| 22 | |||
| 23 | =head1 METHODS | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | 0 | ▶ | sub to_human { |
|
Subroutine
to_human: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | 0 | my $self = shift; | |
| 29 | 0 | return join(' | ', | |
| 30 | $self->id, | ||
| 31 | $self->name, | ||
| 32 | $self->type, | ||
| 33 | join(', ', $self->genres->@*), | ||
| 34 | $self->popularity | ||
| 35 | ); | ||
| 36 | } | ||
| 37 | |||
| 38 | 31 | 1; | |