| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package WebService::Bitly::Result::Clicks; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 6 | use warnings; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 41 |  | 
| 4 | 1 |  |  | 1 |  | 7 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 35 |  | 
| 5 | 1 |  |  | 1 |  | 5 | use Carp; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 73 |  | 
| 6 |  |  |  |  |  |  |  | 
| 7 | 1 |  |  | 1 |  | 4 | use base qw(WebService::Bitly::Result); | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 110 |  | 
| 8 |  |  |  |  |  |  |  | 
| 9 | 1 |  |  | 1 |  | 6 | use WebService::Bitly::Util; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 9 |  | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | sub new { | 
| 12 | 1 |  |  | 1 | 1 | 2 | my ($class, $result_clicks) = @_; | 
| 13 | 1 |  |  |  |  | 12 | my $self = $class->SUPER::new($result_clicks); | 
| 14 |  |  |  |  |  |  |  | 
| 15 | 1 |  |  |  |  | 18 | $self->{results} | 
| 16 |  |  |  |  |  |  | = WebService::Bitly::Util->make_entries($self->data->{clicks}); | 
| 17 |  |  |  |  |  |  |  | 
| 18 | 1 |  |  |  |  | 26 | return $self; | 
| 19 |  |  |  |  |  |  | } | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | sub results { | 
| 22 | 1 |  |  | 1 | 0 | 436 | my $results = shift->{results}; | 
| 23 | 1 | 50 |  |  |  | 6 | return wantarray ? @$results : $results; | 
| 24 |  |  |  |  |  |  | } | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | 1; |