Eve/Event/ExternalProfileAdd.pm

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