line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
7
|
|
|
7
|
|
38
|
use strict; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
171
|
|
2
|
7
|
|
|
7
|
|
34
|
use warnings; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
182
|
|
3
|
7
|
|
|
7
|
|
110
|
use MRO::Compat 'c3'; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
423
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package WebService::Shippo::CarrierAccounts; |
6
|
|
|
|
|
|
|
require WebService::Shippo::CarrierAccount; |
7
|
7
|
|
|
|
|
3929
|
use base qw( |
8
|
|
|
|
|
|
|
WebService::Shippo::Collection |
9
|
|
|
|
|
|
|
WebService::Shippo::Create |
10
|
|
|
|
|
|
|
WebService::Shippo::Fetch |
11
|
|
|
|
|
|
|
WebService::Shippo::Update |
12
|
7
|
|
|
7
|
|
34
|
); |
|
7
|
|
|
|
|
13
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub item_class () { 'WebService::Shippo::CarrierAccount' } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub collection_class () { __PACKAGE__ } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
BEGIN { |
19
|
7
|
|
|
7
|
|
38
|
no warnings 'once'; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
244
|
|
20
|
7
|
|
|
7
|
|
174
|
*Shippo::CarrierAccounts:: = *WebService::Shippo::CarrierAccounts::; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding utf8 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
WebService::Shippo::CarrierAccounts - Carrier Account collection class |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 VERSION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
version 0.0.21 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 DESCRIPTION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Carrier accounts are used as credentials to retrieve shipping rates |
40
|
|
|
|
|
|
|
and purchase labels from a shipping provider. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 API DOCUMENTATION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
For more information about Carrier Accounts, consult the Shippo API |
45
|
|
|
|
|
|
|
documentation: |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=over 2 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * L |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=back |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 REPOSITORY |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over 2 |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * L |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * L |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=back |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 AUTHOR |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Iain Campbell |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Iain Campbell. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
You may distribute this software under the terms of either the GNU General |
72
|
|
|
|
|
|
|
Public License or the Artistic License, as specified in the Perl README |
73
|
|
|
|
|
|
|
file. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut |