lib/omise/res/OmiseApiResource.php
protected function g_destroy($url)
    {
        $result = $this->execute($url, self::REQUEST_DELETE, $this->getResourceKey());
        $this->refresh($result, true);
    }
protected function g_destroy($url)
    {
        $result = $this->execute($url, self::REQUEST_DELETE, $this->getResourceKey());
        $this->refresh($result, true);
    }
protected function g_destroy ( $ url ) { $ result = $ this -> execute ( $ url , self :: REQUEST_DELETE , $ this -> getResourceKey ( ) ) ; $ this -> refresh ( $ result , true ) ; }
Destroys the resource.

@param  string $url

@throws Exception|OmiseException

@return OmiseApiResource
Destroys the resource .