| 1 | ## Domain Registry Interface, Handling of contact data for .JOBS | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2008,2013 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>. | ||
| 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 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | ▶ | use base qw/Net::DRI::Data::Contact/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 1 | __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 | E<lt>development@sygroup.chE<gt> | ||
| 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 E<lt>tonnerre.lombard@sygroup.chE<gt> | ||
| 77 | |||
| 78 | =head1 COPYRIGHT | ||
| 79 | |||
| 80 | Copyright (c) 2008,2013 Tonnerre Lombard <tonnerre.lombard@sygroup.ch>. | ||
| 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 | 1; | |