Helper/Model/Net/Amazon.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
mk_compclass
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Catalyst::Helper::Model::Net::Amazon;
2  
3 use strict;
4 use warnings;
5  
6 use Carp qw/ croak /;
7  
8 our $VERSION = '0.01001';
9  
10 sub mk_compclass {
11 my ( $self, $helper, $token ) = @_;
12
13 $helper->{token} = $token;
14
15 $helper->render_file( 'net_amazon_class', $helper->{file} );
16 }
17  
18 1;
19  
20 =head1 NAME
21  
22 Catalyst::Helper::Model::Net::Amazon - Helper for Net::Amazon Catalyst models
23  
24  
25 =head1 SYNOPSIS
26  
27 script/myapp_create.pl model ModelName Net::Amazon amazon_secret_token
28  
29 =head1 DESCRIPTION
30  
31 Use this module to set up a new L<Catalyst::Model::Net::Amazon> model for
32 your Catalyst application.
33  
34 =head2 Arguments
35  
36 C<ModelName> is the short name for the Model class being generated (eg.
37 C<Net::Amazon>)
38  
39 C<token> is your Amazon Web Services account's Access Key. For more
40 information see: L<http://aws.amazon.com/s3>
41  
42 =head1 SEE ALSO
43  
44 L<Catalyst>, L<Catalyst::Helper>, L<Catalyst::Model::Net::Amazon>
45  
46 =head1 BUGS
47  
48 Please report any bugs or feature requests to
49 L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-Net-Amazon>.
50  
51 =head1 AUTHOR
52  
53 Carl Franks, C<cfranks@cpan.org>
54  
55 =head1 COPYRIGHT AND LICENSE
56  
57 Copyright (C) 2007 by Carl Franks
58  
59 This library is free software; you can redistribute it and/or modify
60 it under the same terms as Perl itself, either Perl version 5.8.8 or,
61 at your option, any later version of Perl 5 you may have available.
62  
63 =cut
64  
65 __DATA__