| blib/lib/WebService/Braintree/Nonce.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 5 | 60.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 2 | 50.0 |
| pod | 0 | 1 | 0.0 |
| total | 4 | 8 | 50.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package WebService::Braintree::Nonce; | ||||||
| 2 | $WebService::Braintree::Nonce::VERSION = '0.92'; | ||||||
| 3 | 1 | 1 | 6 | use Moose; | |||
| 1 | 1 | ||||||
| 1 | 6 | ||||||
| 4 | extends 'WebService::Braintree::ResultObject'; | ||||||
| 5 | |||||||
| 6 | has billing_address => (is => 'rw'); | ||||||
| 7 | |||||||
| 8 | sub BUILD { | ||||||
| 9 | 0 | 0 | 0 | my ($self, $attributes) = @_; | |||
| 10 | 0 | $self->set_attributes_from_hash($self, $attributes); | |||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | |||||||
| 14 | __PACKAGE__->meta->make_immutable; | ||||||
| 15 | 1; |