| 1 | package Google::RestApi::GmailApi1::Attachment; | ||
| 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 | 2 | ▶ | use parent 'Google::RestApi::SubResource'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | 2 | my $class = shift; | |
| 11 | 2 | state $check = signature( | |
| 12 | bless => !!0, | ||
| 13 | named => [ | ||
| 14 | message => HasApi, | ||
| 15 | id => Str, | ||
| 16 | ], | ||
| 17 | ); | ||
| 18 | 2 | return bless $check->(@_), $class; | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub _uri_base { 'attachments' } |
|
Subroutine
_uri_base: not called CC=1 SCAR=6.9
| |||
| 22 | 0 | ▶ | sub _parent_accessor { 'message' } |
|
Subroutine
_parent_accessor: not called CC=1 SCAR=6.9
| |||
| 23 | |||
| 24 | 0 | ▶ | sub get { |
|
Subroutine
get: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | 0 | my $self = shift; | |
| 26 | |||
| 27 | 0 | $self->require_id('get'); | |
| 28 | |||
| 29 | 0 | return $self->api(); | |
| 30 | } | ||
| 31 | |||
| 32 | 0 | ▶ | sub attachment_id { shift->{id}; } |
|
Subroutine
attachment_id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | 0 | ▶ | sub message { shift->{message}; } |
|
Subroutine
message: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | |||
| 35 | 2 | 1; | |
| 36 | |||
| 37 | __END__ | ||