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".
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. <email@example.com>
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.