File Coverage

blib/lib/Net/DRI/Data/Contact/JOBS.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             ## Domain Registry Interface, Handling of contact data for .JOBS
2             ##
3             ## Copyright (c) 2008,2013 Tonnerre Lombard .
4             ## All rights reserved.
5             ##
6             ## This file is part of Net::DRI
7             ##
8             ## Net::DRI is free software; you can redistribute it and/or modify
9             ## it under the terms of the GNU General Public License as published by
10             ## the Free Software Foundation; either version 2 of the License, or
11             ## (at your option) any later version.
12             ##
13             ## See the LICENSE file that comes with this distribution for more details.
14             ####################################################################################################
15              
16             package Net::DRI::Data::Contact::JOBS;
17              
18 1     1   727 use strict;
  1         1  
  1         30  
19 1     1   3 use warnings;
  1         2  
  1         22  
20              
21 1     1   4 use base qw/Net::DRI::Data::Contact/;
  1         1  
  1         86  
22              
23             __PACKAGE__->register_attributes(qw(jobinfo));
24              
25             =pod
26              
27             =head1 NAME
28              
29             Net::DRI::Data::Contact::JOBS - Handle .JOBS contact data for Net::DRI
30              
31             =head1 DESCRIPTION
32              
33             This subclass of Net::DRI::Data::Contact adds accessors and validation for
34             .JOBS specific data.
35              
36             =head1 METHODS
37              
38             The following accessors/mutators can be called in chain, as they all return the object itself.
39              
40             =head2 jobinfo()
41              
42             Stores the additional .JOBS information. This is a hash possibly containing:
43              
44             =over 4
45              
46             =item title - The title of the person.
47              
48             =item website - The web site of the company this contact belongs to.
49              
50             =item industry - The type of industry the contact works in; see the
51             .JOBS registrar documentation for possible values.
52              
53             =item admin - Boolean flag to indicate whether or not the contact is
54             administrative.
55              
56             =item member - Boolean flag to indicate whether or not the contact is
57             an association member.
58              
59             =back
60              
61             =head1 SUPPORT
62              
63             For now, support questions should be sent to:
64              
65             Edevelopment@sygroup.chE
66              
67             Please also see the SUPPORT file in the distribution.
68              
69             =head1 SEE ALSO
70              
71             http://www.dotandco.com/services/software/Net-DRI/ or
72             http://oss.bsdprojects.net/projects/netdri/
73              
74             =head1 AUTHOR
75              
76             Tonnerre Lombard Etonnerre.lombard@sygroup.chE
77              
78             =head1 COPYRIGHT
79              
80             Copyright (c) 2008,2013 Tonnerre Lombard .
81             All rights reserved.
82              
83             This program is free software; you can redistribute it and/or modify
84             it under the terms of the GNU General Public License as published by
85             the Free Software Foundation; either version 2 of the License, or
86             (at your option) any later version.
87              
88             See the LICENSE file that comes with this distribution for more details.
89              
90             =cut
91              
92             ####################################################################################################
93              
94              
95             ####################################################################################################
96             1;