File Coverage

blib/lib/Paws/SES/Body.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::SES::Body;
2 1     1   371 use Moose;
  1     2   3  
  1         7  
  2         743  
  2         5  
  2         11  
3             has Html => (is => 'ro', isa => 'Paws::SES::Content');
4             has Text => (is => 'ro', isa => 'Paws::SES::Content');
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::SES::Body
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::SES::Body object:
23              
24             $service_obj->Method(Att1 => { Html => $value, ..., Text => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::SES::Body object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->Html
32              
33             =head1 DESCRIPTION
34              
35             Represents the body of the message. You can specify text, HTML, or
36             both. If you use both, then the message should display correctly in the
37             widest variety of email clients.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Html => L<Paws::SES::Content>
43              
44             The content of the message, in HTML format. Use this for email clients
45             that can process HTML. You can include clickable links, formatted text,
46             and much more in an HTML message.
47              
48              
49             =head2 Text => L<Paws::SES::Content>
50              
51             The content of the message, in text format. Use this for text-based
52             email clients, or clients on high-latency networks (such as mobile
53             devices).
54              
55              
56              
57             =head1 SEE ALSO
58              
59             This class forms part of L<Paws>, describing an object used in L<Paws::SES>
60              
61             =head1 BUGS and CONTRIBUTIONS
62              
63             The source code is located here: https://github.com/pplu/aws-sdk-perl
64              
65             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
66              
67             =cut
68