« blib/lib/WWW/Google/Cloud/Messaging.pm
↑ Summary
blib/lib/WWW/Google/Cloud/Messaging/Response/ResultSet.pm »
| 1 | package WWW::Google::Cloud::Messaging::Response::Result; | ||||||||||
| 2 | |||||||||||
| 3 | 4 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 4 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | sub new { | ||||||||||
| 7 | 0 | ▶ | my ($class, $result) = @_; | ||||||||
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 8 | 0 | bless $result, $class; | |||||||||
| 9 | } | ||||||||||
| 10 | |||||||||||
| 11 | sub is_success { | ||||||||||
| 12 | 0 | ▶ | shift->error ? 0 : 1; | ||||||||
|
Subroutine
is_success: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||
| 13 | } | ||||||||||
| 14 | |||||||||||
| 15 | sub has_canonical_id { | ||||||||||
| 16 | 0 | ▶ | shift->registration_id ? 1 : 0; | ||||||||
|
Subroutine
has_canonical_id: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | sub message_id { | ||||||||||
| 20 | 0 | ▶ | shift->{message_id}; | ||||||||
|
Subroutine
message_id: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | sub error { | ||||||||||
| 24 | 0 | ▶ | shift->{error}; | ||||||||
|
Subroutine
error: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | sub registration_id { | ||||||||||
| 28 | 0 | ▶ | shift->{registration_id}; | ||||||||
|
Subroutine
registration_id: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | sub target_reg_id { | ||||||||||
| 32 | 0 | ▶ | shift->{_reg_id}; | ||||||||
|
Subroutine
target_reg_id: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 4 | 1; | |||||||||
| 36 | __END__ | ||||||||||