public function call($resource, $method, $data = array())
    {
        $resource = $this->api_url.'/'.$resource;
        $response = $this->getRequest(array(
            'url' => $resource,
            'method' => $method,
            'data' => $data, 
        ))->send();
        
        $result = null;
        if (strlen($response)) {
            $result = $response->{'parse'.$this->_response_format}();
            return $result;
        }

        return false;
    }
public function call($resource, $method, $data = array())
    {
        $resource = $this->api_url.'/'.$resource;
        $response = $this->getRequest(array(
            'url' => $resource,
            'method' => $method,
            'data' => $data, 
        ))->send();
        
        $result = null;
        if (strlen($response)) {
            $result = $response->{'parse'.$this->_response_format}();
            return $result;
        }

        return false;
    }
public function call ( $ resource , $ method , $ data = array ( ) ) { $ resource = $ this -> api_url . '/' . $ resource ; $ response = $ this -> getRequest ( array ( 'url' => $ resource , 'method' => $ method , 'data' => $ data , ) ) -> send ( ) ; $ result = null ; if ( strlen ( $ response ) ) { $ result = $ response -> { 'parse' . $ this -> _response_format } ( ) ; return $ result ; } return false ; }
Make a PUT request.

@param array $data

@return mixed
Make a PUT request .