public function update($endpoint, array $parameters = array(), array $queryparameters = array())
    {
        if (!empty($queryparameters)) {
            $path = sprintf("%s/?%s", $endpoint, http_build_query($queryparameters));
        } else {
            $path = $endpoint;
        }

        return $this->execute("PATCH", sprintf("%s%s", $this->host, $path), $parameters);
    }
public function update($endpoint, array $parameters = array(), array $queryparameters = array())
    {
        if (!empty($queryparameters)) {
            $path = sprintf("%s/?%s", $endpoint, http_build_query($queryparameters));
        } else {
            $path = $endpoint;
        }

        return $this->execute("PATCH", sprintf("%s%s", $this->host, $path), $parameters);
    }
public function update ( $ endpoint , array $ parameters = array ( ) , array $ queryparameters = array ( ) ) { if ( ! empty ( $ queryparameters ) ) { $ path = sprintf ( "%s/?%s" , $ endpoint , http_build_query ( $ queryparameters ) ) ; } else { $ path = $ endpoint ; } return $ this -> execute ( "PATCH" , sprintf ( "%s%s" , $ this -> host , $ path ) , $ parameters ) ; }
Make an update request to the given endpoint

@access public
@param  string   $endpoint
@param  array    $parameters
@param  array    $queryparameters
@return Response
Make an update request to the given endpoint