| 1 | package WWW::FCM::HTTP::Response::Result; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 6 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 7 | 6 | my ($class, $result) = @_; | |||||||||
| 8 | 6 | bless $result, $class; | |||||||||
| 9 | } | ||||||||||
| 10 | |||||||||||
| 11 | 6 | ▶ | sub is_success { | ||||||||
|
Subroutine
is_success: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 6 | ▶ | shift->error ? 0 : 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | } | ||||||||||
| 14 | |||||||||||
| 15 | 6 | ▶ | sub has_canonical_id { | ||||||||
|
Subroutine
has_canonical_id: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 16 | 6 | ▶ | shift->registration_id ? 1 : 0; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 6 | ▶ | sub message_id { | ||||||||
|
Subroutine
message_id: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 20 | 6 | shift->{message_id}; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 12 | ▶ | sub error { | ||||||||
|
Subroutine
error: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 24 | 12 | shift->{error}; | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 12 | ▶ | sub registration_id { | ||||||||
|
Subroutine
registration_id: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 28 | 12 | shift->{registration_id}; | |||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | 6 | ▶ | sub sent_reg_id { | ||||||||
|
Subroutine
sent_reg_id: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 32 | 6 | shift->{_sent_reg_id}; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 3 | 1; | |||||||||