James Bromberger > Net-Dynect-REST-0.09 > Net::Dynect::REST::Job

Download:
Net-Dynect-REST-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 175.   Source  

NAME ^

Net::Dynect::REST::Job - Get the status of a job

SYNOPSIS ^

  use Net::Dynect::REST:Job;
  my @records = Net::Dynect::REST:Job->find(connection => $dynect, job_id => $job_id);

METHODS ^

Creating

Net::Dynect::REST:Job->new()

This takes optional hashref arguments of connection => $dynect, and job_id => $job_id. It does nothing more than create an jobject to represent the job.

Net::Dynect::REST:Job->find(connection => $dynect, job_id => $job_id);

This will return the Net::Dynect::REST::Response object for the specified job. Note that the "Requested" date on the response will show the requets of the "Job" call, but but the jobID returned in the response will matcht he one you supplied of the original request. So if you repeatedly ask for the same Job, the request date will continue to increment - all other data is as when the job completed.

AUTHOR ^

James Bromberger, james@rcpt.to

SEE ALSO ^

Net::Dynect::REST, Net::Dynect::REST::Request, Net::Dynect::REST::Response, Net::Dynect::REST::info.

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by James Bromberger

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: