File Coverage

blib/lib/Business/PaperlessTrans/RequestPart/Address.pm
Criterion Covered Total %
statement 10 12 83.3
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1             package Business::PaperlessTrans::RequestPart::Address;
2 5     5   5077 use strict;
  5         10  
  5         215  
3 5     5   27 use warnings;
  5         12  
  5         174  
4 5     5   4606 use namespace::autoclean;
  5         7867  
  5         58  
5              
6             our $VERSION = '0.002000'; # VERSION
7              
8 5     5   4294 use Moose;
  0            
  0            
9              
10             extends 'MooseY::RemoteHelper::MessagePart';
11              
12             with qw(
13             MooseX::RemoteHelper::CompositeSerialization
14             Business::PaperlessTrans::Role::State
15             );
16              
17             use MooseX::Types::Common::String qw( NonEmptySimpleStr );
18              
19             has street => (
20             isa => NonEmptySimpleStr,
21             is => 'ro',
22             remote_name => 'Street',
23             );
24              
25             has city => (
26             isa => NonEmptySimpleStr,
27             is => 'ro',
28             remote_name => 'City',
29             );
30              
31             has country => (
32             isa => NonEmptySimpleStr,
33             is => 'ro',
34             remote_name => 'Country',
35             );
36              
37             has zip => (
38             isa => NonEmptySimpleStr,
39             is => 'ro',
40             remote_name => 'Zip',
41             );
42              
43             __PACKAGE__->meta->make_immutable;
44             1;
45             # ABSTRACT: Address
46              
47             __END__
48              
49             =pod
50              
51             =head1 NAME
52              
53             Business::PaperlessTrans::RequestPart::Address - Address
54              
55             =head1 VERSION
56              
57             version 0.002000
58              
59             =head1 ATTRIBUTES
60              
61             =head2 street
62              
63             =head2 city
64              
65             =head2 state
66              
67             =head2 zip
68              
69             =head2 country
70              
71             =head1 AUTHOR
72              
73             Caleb Cushing <xenoterracide@gmail.com>
74              
75             =head1 COPYRIGHT AND LICENSE
76              
77             This software is Copyright (c) 2013 by Caleb Cushing.
78              
79             This is free software, licensed under:
80              
81             The Artistic License 2.0 (GPL Compatible)
82              
83             =cut