NAME
Net::Dynect::REST::Response::Data - Data object returned as a result of a request
SYNOPSIS
use Net::Dynect::REST::Response::Data;
my $data = Net::Dynect::REST::Response::Data->new(data => $hashref);
my @keys = $data->data_keys;
print $data->some_key;
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::Response, Net::Dynect::REST::Response::Msg.
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.