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