NAME

API::ParallelsWPB::Response - processing of API responses

VERSION

version 0.03

METHODS

new($class, $res)

Creates new API::ParallelsWPB::Response object.

$res - HTTP::Response object.

json($self)

Returns original JSON answer.

success($self)

Returns 1 if request succeeded, 0 otherwise.

response($self)

Returns munged response from service. According to method, it can be scalar, hashref of arrayref.

status($self)

Returns response status line.

error($self)

Returns munged error text.

SEE ALSO

Parallels Presence Builder Guide

API::ParallelsWPB

API::ParallelsWPB::Requests

AUTHORS

  • Alexander Ruzhnikov <a.ruzhnikov@reg.ru>

  • Polina Shubina <shubina@reg.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by REG.RU LLC.

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