WebService::MyGengo::Revision - A Revision in the myGengo system.
# Note: Revisions can't actually be submitted via API, # so creating one by hand is only useful for testing my $rev = WebService::MyGengo::Revision->new( { body_tgt => 'Hello.' } ); # or $rev = WebService::MyGengo::Revision->new( 'Hello.' ); # Elsewhere... my @revs = $client->get_job_revisions( $job->id ); # $body_tgt eq 'Hello.' my $body_tgt = "$revs[0]"; # Overloads stringification to ->body_tgt
A unique identifier for this Revision.
The translation results.
Sometimes the API returns 'null' (undef) for this value. In this case the value will be coerced into an empty string.
The DateTime at which this Revision was created.
This value is set by the API.
http://mygengo.com/api/developer-docs/methods/translate-job-id-revision-rev-id-get/
Nathaniel Heinrichs
Copyright (c) 2011, Nathaniel Heinrichs <nheinric-at-cpan.org>. All rights reserved.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::MyGengo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::MyGengo
CPAN shell
perl -MCPAN -e shell install WebService::MyGengo
For more information on module installation, please visit the detailed CPAN module installation guide.