| 1 | package Net::Async::Spotify::API::Player; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $VERSION = '0.002'; # VERSION | |
| 7 | 1 | our $AUTHORITY = 'cpan:VNEALV'; # AUTHORITY | |
| 8 | |||
| 9 | 1 | ▶ | use mro; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use parent qw(Net::Async::Spotify::API::Generated::Player); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | =encoding utf8 | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Net::Async::Spotify::API::Player - Package representing Main Spotify Player API | ||
| 17 | |||
| 18 | =head1 DESCRIPTION | ||
| 19 | |||
| 20 | Main module for an Autogenerated one L<Net::Async::Spotify::API::Generated::Player>. | ||
| 21 | Will hold all extra functionality for Spotify Player API | ||
| 22 | |||
| 23 | =head1 METHODS | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 28 | 0 | my $self = (shift)->next::method(@_); | |
| 29 | 0 | $self->mapping->{get_information_about_the_users_current_playback}{response} = ['currentlyplayingcontext']; | |
| 30 | 0 | $self->mapping->{get_a_users_available_devices}{response} = ['Devices']; | |
| 31 | 0 | return $self; | |
| 32 | } | ||
| 33 | |||
| 34 | 1 | 1; | |