| blib/lib/PagSeguro/API/Response.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package PagSeguro::API::Response; | ||||||
| 2 | 3 | 3 | 13 | use Moo; | |||
| 3 | 4 | ||||||
| 3 | 24 | ||||||
| 3 | |||||||
| 4 | # attributes | ||||||
| 5 | has error => (is => 'rw'); | ||||||
| 6 | has url => (is => 'rw'); | ||||||
| 7 | |||||||
| 8 | has data => (is => 'rw', default => sub { {} }); | ||||||
| 9 | |||||||
| 10 | 1; |