Skip to content

Commit 46b854b

Browse files
committed
updated
1 parent 698bfa0 commit 46b854b

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

lib/Net/RDAP/JCard.pm

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,12 @@ L<Net::RDAP::JCard> - a module representing an RDAP jCard object.
2424
This module provides a representation of jCard properties, as described in
2525
L<RFC 7095|https://www.rfc-editor.org/rfc/rfc7095.html>.
2626
27-
Historically, the only way to access the contents of the C<vcardArray> property
28-
of L<Net::RDAP::Object::Entity> objects was to call the C<vcard()> method and
29-
get a L<vCard> object back, but the conversion was lossy. This module provides a
30-
lossless and ergonomic alternative to using L<vCard>.
31-
3227
=head1 CONSTRUCTOR
3328
3429
$jcard = Net::RDAP::JCard->new($ref);
3530
3631
You probably don't need to instantiate these objects yourself, but if you do,
37-
you just need to pass an arrayref of properties.
32+
you just need to pass an arrayref of properties (which are themelves arrayrefs).
3833
3934
=cut
4035

@@ -60,9 +55,6 @@ Returns a (potentially empty) array of L<Net::RDAP::JCard::Property> objects,
6055
optionally filtered to just those that have the C<$type> type (matched
6156
case-insensitively).
6257
63-
Before v0.26, this method was called C<nodes()>. This name still works but is
64-
deprecated and will be removed in the future.
65-
6658
=cut
6759

6860
sub properties {
@@ -71,6 +63,9 @@ sub properties {
7163
return grep { !$type || uc($type) eq uc($_->type) } @{$self->{properties}};
7264
}
7365

66+
#
67+
# DEPRECATED
68+
#
7469
sub nodes { shift->properties(@_) }
7570

7671
=pod

0 commit comments

Comments
 (0)