Eve/Event/ExternalSignup.pm

filter: Statementstmt 62.5% 10 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 66.6% 14 / 21 CC 1 SCAR 2.2
CC
1
Cov
62%
init
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Eve/Test.pm ↑ Summary Eve/Event/PsgiRequestReceived.pm »
1 package Eve::Event::ExternalSignup;
2  
3 1 ▶use parent qw(Eve::Event);
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 B<Eve::Event::ExternalSignup> - external signup profile available.
11  
12 =head1 SYNOPSIS
13  
14 use Eve::Event::ExternalSignup;
15  
16 Eve::Event::ExternalSignup->new(
17 external_profile => $external_profile,
18 session => $session,
19 event_map => $event_map);
20  
21 =head1 DESCRIPTION
22  
23 B<Eve::Event::ExternalSignup> is an event assumed to signal
24 about a new external signup profile availability.
25  
26 =head3 Attributes
27  
28 =over 4
29  
30 =item C<extarnal_profile>
31  
32 an external profile object (C<Eve::Item::ExternalProfile>)
33  
34 =item C<session>
35  
36 a session object (C<Eve::Session>).
37  
38 =back
39  
40 =head3 Constructor arguments
41  
42 =over 4
43  
44 =item C<external_profile>
45  
46 an external profile object (C<Eve::Item::ExternalProfile>)
47  
48 =item C<session>
49  
50 a session object (C<Eve::Session>)
51  
52 =item C<event_map>
53  
54 an event map object (C<Eve::EventMap>).
55  
56 =back
57  
58 =head1 METHODS
59  
60 =head2 B<init()>
61  
62 =cut
63  
64 0 ▶sub init {
Subroutine init: not called CC=1 SCAR=6.9
Pod documented
65 0 my ($self, %arg_hash) = @_;
66 0 my $arg_hash = Eve::Support::arguments(
67 \%arg_hash, my ($external_profile, $session));
68  
69 0 $self->SUPER::init(%{$arg_hash});
70  
71 0 $self->{'external_profile'} = $external_profile;
72 0 $self->{'session'} = $session;
73 }
74  
75 =head1 SEE ALSO
76  
77 =over 4
78  
79 =item L<Eve::Event>
80  
81 =item L<Eve::EventMap>
82  
83 =item L<Eve::Item:ExternalProfile>
84  
85 =item L<Eve::Session>
86  
87 =back
88  
89 =head1 LICENSE AND COPYRIGHT
90  
91 Copyright 2012 Igor Zinovyev.
92  
93 This program is free software; you can redistribute it and/or modify it
94 under the terms of either: the GNU General Public License as published
95 by the Free Software Foundation; or the Artistic License.
96  
97 See http://dev.perl.org/licenses/ for more information.
98  
99  
100 =head1 AUTHOR
101  
102 =over 4
103  
104 =item L<Igor Zinovyev|mailto:zinigor@gmail.com>
105  
106 =item L<Sergey Konoplev|mailto:gray.ru@gmail.com>
107  
108 =back
109  
110 =cut
111  
112 1 1;
« Eve/Test.pm ↑ Summary Eve/Event/PsgiRequestReceived.pm »