File Coverage

blib/lib/Form/Factory/Action/Meta/Role.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Form::Factory::Action::Meta::Role;
2             $Form::Factory::Action::Meta::Role::VERSION = '0.022';
3 1     1   2419 use Moose::Role;
  1         2  
  1         7  
4              
5             # ABSTRACT: The meta-class role for form action roles
6              
7              
8             has features => (
9             is => 'ro',
10             isa => 'HashRef',
11             required => 1,
12             default => sub { {} },
13             );
14              
15             1;
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Form::Factory::Action::Meta::Role - The meta-class role for form action roles
26              
27             =head1 VERSION
28              
29             version 0.022
30              
31             =head1 SYNOPSIS
32              
33             package MyApp::Action::Role::Foo;
34             use Form::Factory::Processor::Role
35              
36             =head1 DESCRIPTION
37              
38             All form action roles have this role attached to its meta-class.
39              
40             =head1 ATTRIBUTES
41              
42             =head2 features
43              
44             This is a hash of features provided by the role. The keys are the short name of the feature to attach and the value is a hash of options to pass to the feature's constructor on instantiation.
45              
46             =head1 AUTHOR
47              
48             Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is copyright (c) 2015 by Qubling Software LLC.
53              
54             This is free software; you can redistribute it and/or modify it under
55             the same terms as the Perl 5 programming language system itself.
56              
57             =cut