Nathaniel Heinrichs > WebService-MyGengo-0.012 > WebService::MyGengo::Feedback

Download:
WebService-MyGengo-0.012.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WebService::MyGengo::Feedback - A Feedback entry in the myGengo system.

SYNOPSIS ^

    # Submit feedback
    $client->approve_job( $job, 5, "Good Job", "Nice xlation", 1 );

    # Elsewhere...
    my $fb = $client->get_job_feedback( $job->id );
    is( $fb->rating, "5.0" );
    is( $fb->for_translator, "Good Job" );

ATTRIBUTES ^

rating (Num)

A decimal figure representing the rating for the translation between 0.0 and 5.0.

for_translator (Str)

The comment that was left for the translator in UTF-8 encoding.

Sometimes the API returns 'null' (undef) for this value. In this case the value will be coerced into an empty string.

METHODS ^

SEE ALSO

WebService::MyGengo::Client

http://mygengo.com/api/developer-docs/methods/translate-job-id-feedback-get/

AUTHOR ^

Nathaniel Heinrichs

LICENSE ^

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.

syntax highlighting: