WebService::POEditor::Response
version v1.1.0
Instance of Role::REST::Client::Response.
Original request method.
POEditor API response hash.
POEditor API response status.
POEditor API response code.
POEditor API response message.
Returns array of items for responses that return "list" (e.g. List Projects).
my @list = $res->list;
Returns number of items in the list.
Returns true if list has items, false otherwise.
Get list item by array index.
Returns item HashRef for responses that provide "item" (e.g. View Project Details).
NOTE: For "Export" method call, even though it provides item, the response will be stored in "export_url".
item
my $id = $res->get_item('id');
Returns item by key.
Returns true if response has item, false otherwise.
Returns details HashRef for responses that provide "details" (e.g. Add Terms).
Get detail by key.
my $parsed = $self->get_detail('parsed');
Return true if response has details, false otherwise.
For "Export" method call returns an URL string.
Roman F. <romanf@cpan.org>
This software is copyright (c) 2013 by Roman F..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::POEditor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::POEditor
CPAN shell
perl -MCPAN -e shell install WebService::POEditor
For more information on module installation, please visit the detailed CPAN module installation guide.