EC2/KeyPair.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EC2/IpRange.pm ↑ Summary EC2/LaunchPermission.pm »
1 package Net::Amazon::EC2::KeyPair;
2 2 $Net::Amazon::EC2::KeyPair::VERSION = '0.36';
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Net::Amazon::EC2::KeyPair
8  
9 =head1 DESCRIPTION
10  
11 A class representing a key pair upon creation of a new pair.
12  
13 =head1 ATTRIBUTES
14  
15 =over
16  
17 =item key_material (required)
18  
19 The unencrypted PEM encoded RSA private key.
20  
21 =back
22  
23 =cut
24  
25 2 extends 'Net::Amazon::EC2::DescribeKeyPairsResponse';
26  
27 2 has 'key_material' => ( is => 'ro', isa => 'Str', required => 1 );
28  
29 2 __PACKAGE__->meta->make_immutable();
30  
31 =head1 AUTHOR
32  
33 Jeff Kim <cpan@chosec.com>
34  
35 =head1 COPYRIGHT
36  
37 Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39  
40 =cut
41  
42 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
43 2 1;
« EC2/IpRange.pm ↑ Summary EC2/LaunchPermission.pm »