Skip to content
Browse files

Change abuse-c according to RIPE new specs

  • Loading branch information...
1 parent 38439c4 commit 5cc2619547fe09cc649e186273600818fb1b1ef1 @arhuman committed Oct 11, 2013
Showing with 8 additions and 6 deletions.
  1. +8 −6 lib/Net/Whois/Object/Organisation.pm
View
14 lib/Net/Whois/Object/Organisation.pm
@@ -2,13 +2,13 @@ package Net::Whois::Object::Organisation;
use base qw/Net::Whois::Object/;
-# From: whois -t organisation
+# whois -h whois.ripe.net -t organisation
# % This is the RIPE Database query service.
# % The objects are in RPSL format.
# %
# % The RIPE Database is subject to Terms and Conditions.
# % See http://www.ripe.net/db/support/db-terms-conditions.pdf
-#
+#
# organisation: [mandatory] [single] [primary/lookup key]
# org-name: [mandatory] [single] [lookup key]
# org-type: [mandatory] [single] [ ]
@@ -21,22 +21,24 @@ use base qw/Net::Whois::Object/;
# geoloc: [optional] [single] [ ]
# language: [optional] [multiple] [ ]
# org: [optional] [multiple] [inverse key]
-# abuse-c: [optional] [multiple] [inverse key]
# admin-c: [optional] [multiple] [inverse key]
# tech-c: [optional] [multiple] [inverse key]
+# abuse-c: [optional] [single] [inverse key]
# ref-nfy: [optional] [multiple] [inverse key]
# mnt-ref: [mandatory] [multiple] [inverse key]
# notify: [optional] [multiple] [inverse key]
# abuse-mailbox: [optional] [multiple] [inverse key]
# mnt-by: [mandatory] [multiple] [inverse key]
# changed: [mandatory] [multiple] [ ]
# source: [mandatory] [single] [ ]
+#
+# % This query was served by the RIPE Database Query Service version 1.69 (WHOIS4)
-__PACKAGE__->attributes( 'primary', ['organisation'] );
+__PACKAGE__->attributes( 'primary', [ 'organisation' ] );
__PACKAGE__->attributes( 'mandatory', [ 'organisation', 'org_name', 'org_type', 'address', 'e_mail', 'mnt_ref', 'mnt_by', 'changed', 'source' ] );
__PACKAGE__->attributes( 'optional', [ 'descr', 'remarks', 'phone', 'fax_no', 'geoloc', 'language', 'org', 'abuse_c', 'admin_c', 'tech_c', 'ref_nfy', 'notify', 'abuse_mailbox' ] );
-__PACKAGE__->attributes( 'single', [ 'organisation', 'org_name', 'org_type', 'geoloc','source' ] );
-__PACKAGE__->attributes( 'multiple', [ 'descr', 'remarks', 'address', 'phone', 'fax_no', 'e_mail','language', 'org', 'abuse_c', 'admin_c', 'tech_c', 'ref_nfy', 'mnt_ref', 'notify','abuse_mailbox', 'mnt_by', 'changed' ] );
+__PACKAGE__->attributes( 'single', [ 'organisation', 'org_name', 'org_type', 'geoloc', 'abuse_c', 'source' ] );
+__PACKAGE__->attributes( 'multiple', [ 'descr', 'remarks', 'address', 'phone', 'fax_no', 'e_mail','language', 'org', 'admin_c', 'tech_c', 'ref_nfy', 'mnt_ref', 'notify','abuse_mailbox', 'mnt_by', 'changed' ] );
=head1 NAME

0 comments on commit 5cc2619

Please sign in to comment.
Something went wrong with that request. Please try again.