| 1 | package WWW::Jawbone::Up::User; | ||
| 2 | |||
| 3 | 6 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 6 | ▶ | use base 'WWW::Jawbone::Up::JSON'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 6 | __PACKAGE__->add_accessors( | |
| 10 | qw(first last name short_name), { | ||
| 11 | friend => 'user_is_friend' | ||
| 12 | }); | ||
| 13 | |||
| 14 | 1 | ▶ | sub image { |
|
Subroutine
image: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | 1 | my $self = shift; | |
| 16 | 1 | return 'https://jawbone.com/' . $self->{image}; | |
| 17 | } | ||
| 18 | |||
| 19 | 6 | 1; | |
| 20 | |||