File Coverage

lib/WebService/Shippo/CustomsDeclaration.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1 7     7   34 use strict;
  7         14  
  7         170  
2 7     7   62 use warnings;
  7         14  
  7         199  
3 7     7   36 use MRO::Compat 'c3';
  7         1837  
  7         2052  
4              
5             package WebService::Shippo::CustomsDeclaration;
6 7         5059 use base qw(
7             WebService::Shippo::Resource
8             WebService::Shippo::Create
9             WebService::Shippo::Fetch
10 7     7   1748 );
  7         1736  
11              
12             sub api_resource () { 'customs/declarations' }
13              
14             sub collection_class () { 'WebService::Shippo::CustomsDeclarations' }
15              
16             sub item_class () { __PACKAGE__ }
17              
18             BEGIN {
19 7     7   40 no warnings 'once';
  7         10  
  7         271  
20 7     7   234 *Shippo::CustomsDeclaration:: = *WebService::Shippo::CustomsDeclaration::;
21             }
22              
23             1;
24              
25             =pod
26              
27             =encoding utf8
28              
29             =head1 NAME
30              
31             WebService::Shippo::CustomsDeclaration - Customs Declaration class
32              
33             =head1 VERSION
34              
35             version 0.0.20
36              
37             =head1 DESCRIPTION
38              
39             Customs declarations are relevant information, including one or
40             multiple customs items, you need to provide for customs clearance
41             for your international shipments.
42              
43             =head1 API DOCUMENTATION
44              
45             For more information about Customs Declarations, consult the Shippo API
46             documentation:
47              
48             =over 2
49              
50             =item * L
51              
52             =back
53              
54             =head1 REPOSITORY
55              
56             =over 2
57              
58             =item * L
59              
60             =item * L
61              
62             =back
63              
64             =head1 AUTHOR
65              
66             Iain Campbell
67              
68             =head1 COPYRIGHT AND LICENSE
69              
70             This software is copyright (c) 2015 by Iain Campbell.
71              
72             You may distribute this software under the terms of either the GNU General
73             Public License or the Artistic License, as specified in the Perl README
74             file.
75              
76             =cut