NAME

Net::Dynect::REST::Data - the data returned as a result of querying Dynect

SYNOPSIS

use Net::Dynect::REST::ARecord;
my @records = Net::Dynect::REST::ARecord->find(connection => $dynect, zone => $zone, fqdn => $fqdn);
foreach (@arecords) {
  print $_->rdata;
  my @fields = $_->rdata->data_keys;
  my $address = $_->rdata->address;
}

METHODS

Creating

new

This constructor takes the data as decoded from the response.

Attributes

data_keys

This returns the names of the keys of the data returned.

other, random, names

As the data varies depending on the request given, so does the value returned in the response. Hence the data may have a key of zone, or ttl, or anthing else.

SEE ALSO

Net::Dynect::REST, Net::Dynect::REST::info.

AUTHOR

James bromberger, james@rcpt.to

COPYRIGHT AND LICENSE

Copyright (C) 2010 by James Bromberger

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.