07 Jul 2020 12:00:50 UTC
- Distribution: Net-RDAP
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (587 / 0 / 0)
- KwaliteeBus factor: 1
- % Coverage
- License: unknown
- Activity24 month
- Download (22.98KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Net::RDAP::Registry::IANARegistry::Service - a class which represents an RDAP service in an IANA bootstrap registry.
Each of the entries in an IANA RDAP Bootstrap registry represen a specific RDAP service that corresponds to the unique identifiers associated with that entry (e.g. top-level domains, IP blocks, or AS number ranges).
This class provides a representation of these entries.
This class is used internally by Net::RDAP::Registry.
The constructor accepts two or three arguments:
$svc = Net::RDAP::Registry::IANARegistry::Service->new( $registryref, $urlref, ); # or: $svc = Net::RDAP::Registry::IANARegistry::Service->new( $registrant, $registryref, $urlref, );
$registrantis the email address of the registrant of the service.
$registryrefis a reference to an array of "registries", i.e. top-level domains, IP address blocks, ASN ranges, or object tags.
$urlrefis a reference to an array of RDAP base URLs.
@urls = $svc->urls;
This method returns an array of
URIobjects representing the RDAP base URL(s) for the RDAP service.
@registries = $svc->registries;
This method returns an array of "registries" (TLDs, IP blocks, ASN ranges, etc) for which the RDAP service is authoritatie.
$registrant = $svc->registrant;
This method returns the registrant of the entry into the registry. This is typically an email address. Note that as of writing, only entries in the Object Tag registry have registrants.
Copyright 2019 CentralNic Ltd. All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.