NAME

WWW::SEOmoz::Links - Class to represent the links returned from the SEOmoz API

VERSION

version 0.03

DESCRIPTION

Class to hold the links returned from the 'links' method in the SEOmoz API.

ATTRIBUTES

ArrayRef of WWW::SEOmoz::Link objects that were returned from the API.

METHODS

new_from_data

my $links = WWW::SEOmoz::Links->( $data );

Returns a new WWW::SEOmoz::Links object from the data returned from the API call.

warn $links->all_links;

Returns all the links returned from the API.

$links->number_of_links;

Returns a count of the number of links returned from the API.

SEE ALSO

WWW::SEOmoz

AUTHOR

Adam Taylor <ajct@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Adam Taylor.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.