blib/lib/Finance/LocalBitcoins/API/Request/Address.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 14 | 85.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 6 | 66.6 |
pod | 0 | 2 | 0.0 |
total | 16 | 22 | 72.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Finance::LocalBitcoins::API::Request::Address; | ||||||
2 | 1 | 1 | 7 | use base qw(Finance::LocalBitcoins::API::Request); | |||
1 | 2 | ||||||
1 | 85 | ||||||
3 | 1 | 1 | 7 | use strict; | |||
1 | 2 | ||||||
1 | 34 | ||||||
4 | |||||||
5 | 1 | 1 | 6 | use constant URL => 'https://localbitcoins.com/api/wallet-addr/'; | |||
1 | 2 | ||||||
1 | 50 | ||||||
6 | 1 | 1 | 5 | use constant READY => 1; | |||
1 | 2 | ||||||
1 | 98 | ||||||
7 | |||||||
8 | 0 | 0 | 0 | sub url { URL } | |||
9 | 0 | 0 | 0 | sub is_ready_to_send { READY } | |||
10 | |||||||
11 | 1; | ||||||
12 | |||||||
13 | __END__ |