Brian Phillips > WebService-Shutterstock-0.002 > WebService::Shutterstock::Client

Download:
WebService-Shutterstock-0.002.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.002   Source   Latest Release: WebService-Shutterstock-0.006

NAME ^

WebService::Shutterstock::Client - Provides easy REST interactions with the Shutterstock API

VERSION ^

version 0.002

DESCRIPTION ^

This class extends the REST::Client class and provides some additional convenience functions.

You should not need to use this class to use WebService::Shutterstock

METHODS ^

response

Returns most recent response object.

process_response(201 => \&created_handler, 404 => \&notfound_handler)

Processes the most recent response object based on the HTTP status code, the content type and response body. Additional handlers may be passed in (keyed on HTTP status codes).

AUTHOR ^

Brian Phillips <bphillips@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Brian Phillips and Shutterstock, Inc. (http://shutterstock.com).

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

syntax highlighting: