The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Asana::Role::NewFromResponse - Role which implements new_from_response for Asana classes

VERSION

version 0.003

METHODS

new_from_response

This function converts the data which is get from Asana into the required attributes for generation of the given class. The first parameter must be a HashRef. This HashRef can be spiced with client and response to give a client which is able to handle the do function, or to reflect the response which leaded to this object.

The client attribute is required if you want todo any calls to the Asana API.

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Torsten Raudssus.

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