blib/lib/Flickr/API2/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 10 | 80.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 1 | 1 | 100.0 |
total | 12 | 15 | 80.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Flickr::API2::Test; | ||||||
2 | 4 | 4 | 35 | use 5.12.0; | |||
4 | 21 | ||||||
3 | 4 | 4 | 15 | use warnings; | |||
4 | 6 | ||||||
4 | 89 | ||||||
4 | 4 | 4 | 14 | use Moo; | |||
4 | 4 | ||||||
4 | 17 | ||||||
5 | extends 'Flickr::API2::Base'; | ||||||
6 | |||||||
7 | =head2 echo | ||||||
8 | |||||||
9 | Echos back what you sent to Flickr. | ||||||
10 | |||||||
11 | =cut | ||||||
12 | |||||||
13 | sub echo { | ||||||
14 | 0 | 0 | 1 | my ($self, %args) = @_; | |||
15 | 0 | return $self->api->execute_method( | |||||
16 | 'flickr.test.echo', \%args | ||||||
17 | ); | ||||||
18 | } | ||||||
19 | |||||||
20 | 1; |