File Coverage

blib/lib/Net/Amazon/EC2/DescribeKeyPairsResponse.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::EC2::DescribeKeyPairsResponse;
2 2     2   1154 use strict;
  2         3  
  2         72  
3 2     2   12 use Moose;
  2         5  
  2         16  
4              
5             =head1 NAME
6              
7             Net::Amazon::EC2::DescribeKeyPairsResponse
8              
9             =head1 DESCRIPTION
10              
11             A class representing a key pair.
12              
13             =head1 ATTRIBUTES
14              
15             =over
16              
17             =item key_name (required)
18              
19             The name of the key pair.
20              
21             =item key_fingerprint (required)
22              
23             A fingerprint for the private key of the key pair. This is calculated as the SHA-1 of the DER version of the private key.
24              
25             =cut
26              
27             has 'key_name' => ( is => 'ro', isa => 'Str', required => 1 );
28             has 'key_fingerprint' => ( is => 'ro', isa => 'Str', required => 1 );
29              
30             __PACKAGE__->meta->make_immutable();
31              
32             =back
33              
34             =head1 AUTHOR
35              
36             Jeff Kim <cpan@chosec.com>
37              
38             =head1 COPYRIGHT
39              
40             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
41             under the same terms as Perl itself.
42              
43             =cut
44              
45 2     2   12379 no Moose;
  2         5  
  2         10  
46             1;