lib/omise/res/OmiseApiResource.php
protected function g_update($url, $params)
    {
        $result = $this->execute($url, self::REQUEST_PATCH, $this->getResourceKey(), $params);
        $this->refresh($result);
    }
protected function g_update($url, $params)
    {
        $result = $this->execute($url, self::REQUEST_PATCH, $this->getResourceKey(), $params);
        $this->refresh($result);
    }
protected function g_update ( $ url , $ params ) { $ result = $ this -> execute ( $ url , self :: REQUEST_PATCH , $ this -> getResourceKey ( ) , $ params ) ; $ this -> refresh ( $ result ) ; }
Updates the resource with the given parameters in an associative array.

@param  string $url
@param  array  $params

@throws Exception|OmiseException
Updates the resource with the given parameters in an associative array .