private function TranscoderAbstractionFactoryZencoderTestCase::doPostback in Video 7.2
1 call to TranscoderAbstractionFactoryZencoderTestCase::doPostback()
File
- tests/
TranscoderAbstractionFactoryZencoder.test, line 412 - Tests for the TranscoderAbstractionFactoryZencoder class
Class
- TranscoderAbstractionFactoryZencoderTestCase
- Tests for TranscoderAbstractionFactoryZencoder
Code
private function doPostback($data) {
$out = $this
->curlExec(array(
CURLOPT_URL => url('postback/jobs', array(
'absolute' => TRUE,
)),
CURLOPT_POST => TRUE,
CURLOPT_POSTFIELDS => $data,
));
// Ensure that any changes to variables in the other thread are picked up.
$this
->refreshVariables();
return $out;
}