File Coverage

lib/WebService/Shippo/Parcels.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   36 use strict;
  7         13  
  7         178  
2 7     7   35 use warnings;
  7         12  
  7         175  
3 7     7   30 use MRO::Compat 'c3';
  7         13  
  7         352  
4              
5             package WebService::Shippo::Parcels;
6             require WebService::Shippo::Parcel;
7 7         1162 use base qw(
8             WebService::Shippo::Collection
9             WebService::Shippo::Create
10             WebService::Shippo::Fetch
11 7     7   45 );
  7         43  
12              
13             sub item_class () { 'WebService::Shippo::Parcel' }
14              
15             sub collection_class () { __PACKAGE__ }
16              
17             BEGIN {
18 7     7   39 no warnings 'once';
  7         14  
  7         239  
19 7     7   190 *Shippo::Parcels:: = *WebService::Shippo::Parcels::;
20             }
21              
22             1;
23              
24             =pod
25              
26             =encoding utf8
27              
28             =head1 NAME
29              
30             WebService::Shippo::Parcel - Parcels collection class
31              
32             =head1 VERSION
33              
34             version 0.0.19
35              
36             =head1 DESCRIPTION
37              
38             Parcel objects are used for creating shipments, obtaining rates and printing
39             labels. Thus they are one of the fundamental building blocks of the Shippo
40             API. Parcel objects are created with their basic dimensions and weight.
41              
42             =head1 API DOCUMENTATION
43              
44             For more information about Parcels, consult the Shippo API 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              
75             =cut