| 1 | package Google::RestApi::CalendarApi3::Colors; | ||
| 2 | |||
| 3 | 2 | our $VERSION = '2.2.5'; | |
| 4 | |||
| 5 | 2 | ▶ | use Google::RestApi::Setup; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 3 | my $class = shift; | |
| 9 | 3 | state $check = signature( | |
| 10 | bless => !!0, | ||
| 11 | named => [ | ||
| 12 | calendar_api => HasApi, | ||
| 13 | ], | ||
| 14 | ); | ||
| 15 | 3 | return bless $check->(@_), $class; | |
| 16 | } | ||
| 17 | |||
| 18 | 1 | ▶ | sub api { |
|
Subroutine
api: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 19 | 1 | my $self = shift; | |
| 20 | 1 | return $self->calendar_api()->api(uri => 'colors', @_); | |
| 21 | } | ||
| 22 | |||
| 23 | 1 | ▶ | sub get { |
|
Subroutine
get: called CC=1 SCAR=0.0
Pod
documented
| |||
| 24 | 1 | my $self = shift; | |
| 25 | 1 | return $self->api(); | |
| 26 | } | ||
| 27 | |||
| 28 | 0 | ▶ | sub calendar_colors { |
|
Subroutine
calendar_colors: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | 0 | my $self = shift; | |
| 30 | 0 | return $self->get()->{calendar}; | |
| 31 | } | ||
| 32 | |||
| 33 | 0 | ▶ | sub event_colors { |
|
Subroutine
event_colors: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | 0 | my $self = shift; | |
| 35 | 0 | return $self->get()->{event}; | |
| 36 | } | ||
| 37 | |||
| 38 | 1 | ▶ | sub calendar_api { shift->{calendar_api}; } |
|
Subroutine
calendar_api: called CC=1 SCAR=0.0
Pod
documented
| |||
| 39 | |||
| 40 | 2 | 1; | |
| 41 | |||
| 42 | __END__ | ||