blib/lib/WebService/Braintree/WebhookTesting.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 6 | 50.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 3 | 33.3 |
pod | 0 | 2 | 0.0 |
total | 4 | 11 | 36.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WebService::Braintree::WebhookTesting; | ||||||
2 | $WebService::Braintree::WebhookTesting::VERSION = '0.93'; | ||||||
3 | |||||||
4 | 1 | 1 | 11 | use Moose; | |||
1 | 4 | ||||||
1 | 12 | ||||||
5 | |||||||
6 | |||||||
7 | sub sample_notification { | ||||||
8 | 0 | 0 | 0 | my ($class, $kind, $id) = @_; | |||
9 | |||||||
10 | 0 | return $class->gateway->webhook_testing->sample_notification($kind, $id); | |||||
11 | } | ||||||
12 | |||||||
13 | sub gateway { | ||||||
14 | 0 | 0 | 0 | return WebService::Braintree->configuration->gateway; | |||
15 | } | ||||||
16 | |||||||
17 | __PACKAGE__->meta->make_immutable; | ||||||
18 | 1; | ||||||
19 |