NAME

Net::RDAP::Base - base module for some Net::RDAP:: modules.

DESCRIPTION

You don't use Net::RDAP::Base directly, instead, various other modules extend it.

METHODS

Language

$lang = $object->lang;

Returns the language identifier for this object, or undef.

@links = $object->links;

Returns a (potentially empty) array of Net::RDAP::Link objects.

$self = $object->self;

Returns a Net::RDAP::Link object corresponding to the self link of this object (if one is available).

TO_JSON()

Net::RDAP::Base provides a TO_JSON() so that any RDAP object can be serialized back into JSON if your JSON serializer (JSON, JSON::XS, etc) is configured with the convert_blessed option.

COPYRIGHT

Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. All rights reserved.

LICENSE

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.