Services/Zencoder.php
public function updateData($path, $body = "", array $opts = array())
    {
        $headers = array('Content-Type' => 'application/json');
        return empty($params)
            ? $this->_processResponse($this->http->put($this->_getApiPath($opts) . $path, $headers))
            : $this->_processResponse(
                $this->http->put(
                    $this->_getApiPath($opts) . $path,
                    $headers,
                    $body
                )
            );
    }
public function updateData($path, $body = "", array $opts = array())
    {
        $headers = array('Content-Type' => 'application/json');
        return empty($params)
            ? $this->_processResponse($this->http->put($this->_getApiPath($opts) . $path, $headers))
            : $this->_processResponse(
                $this->http->put(
                    $this->_getApiPath($opts) . $path,
                    $headers,
                    $body
                )
            );
    }
public function updateData ( $ path , $ body = "" , array $ opts = array ( ) ) { $ headers = array ( 'Content-Type' => 'application/json' ) ; return empty ( $ params ) ? $ this -> _processResponse ( $ this -> http -> put ( $ this -> _getApiPath ( $ opts ) . $ path , $ headers ) ) : $ this -> _processResponse ( $ this -> http -> put ( $ this -> _getApiPath ( $ opts ) . $ path , $ headers , $ body ) ) ; }
PUT to the resource at the specified path.

@param string $path   Path to the resource
@param string $body   Raw body to post
@param array  $opts   Optional overrides

@return object The object representation of the resource
PUT to the resource at the specified path .