File Coverage

lib/WebService/Shippo/CustomsItem.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   35 use strict;
  7         12  
  7         174  
2 7     7   33 use warnings;
  7         13  
  7         186  
3 7     7   33 use MRO::Compat 'c3';
  7         10  
  7         207  
4              
5             package WebService::Shippo::CustomsItem;
6 7         1267 use base qw(
7             WebService::Shippo::Resource
8             WebService::Shippo::Create
9             WebService::Shippo::Fetch
10 7     7   32 );
  7         12  
11              
12             sub api_resource () { 'customs/items' }
13              
14             sub collection_class () { 'WebService::Shippo::CustomsItems' }
15              
16             sub item_class () { __PACKAGE__ }
17              
18             BEGIN {
19 7     7   46 no warnings 'once';
  7         22  
  7         249  
20 7     7   271 *Shippo::CustomsItem:: = *WebService::Shippo::CustomsItem::;
21             }
22              
23             1;
24              
25             =pod
26              
27             =encoding utf8
28              
29             =head1 NAME
30              
31             WebService::Shippo::CustomsItem - Customs Item class
32              
33             =head1 VERSION
34              
35             version 0.0.19
36              
37             =head1 DESCRIPTION
38              
39             Customs items are distinct items in your international shipment parcel.
40              
41             =head1 API DOCUMENTATION
42              
43             For more information about Customs Items, consult the Shippo API
44             documentation:
45              
46             =over 2
47              
48             =item * L
49              
50             =back
51              
52             =head1 REPOSITORY
53              
54             =over 2
55              
56             =item * L
57              
58             =item * L
59              
60             =back
61              
62             =head1 AUTHOR
63              
64             Iain Campbell
65              
66             =head1 COPYRIGHT AND LICENSE
67              
68             This software is copyright (c) 2015 by Iain Campbell.
69              
70             You may distribute this software under the terms of either the GNU General
71             Public License or the Artistic License, as specified in the Perl README
72             file.
73              
74             =cut