public function delete(Post $post)
    {
        $response = $this->api->process(new DeletePost($post));
        if ($response->getStatusCode() == 200) {
            return true;
        } else {
            return false;
        }
    }
public function delete(Post $post)
    {
        $response = $this->api->process(new DeletePost($post));
        if ($response->getStatusCode() == 200) {
            return true;
        } else {
            return false;
        }
    }
public function delete ( Post $ post ) { $ response = $ this -> api -> process ( new DeletePost ( $ post ) ) ; if ( $ response -> getStatusCode ( ) == 200 ) { return true ; } else { return false ; } }
Delete a Post

@param Post $post

@return bool
Delete a Post