Google\Spreadsheet\ListFeed::getPostUrl PHP Method

getPostUrl() public method

Get the post url for this feed
public getPostUrl ( ) : string
return string
    public function getPostUrl()
    {
        return Util::getLinkHref($this->xml, 'http://schemas.google.com/g/2005#post');
    }

Usage Example

 public function testGetPostUrl()
 {
     $xml = file_get_contents(__DIR__ . '/xml/list-feed.xml');
     $listFeed = new ListFeed($xml);
     $this->assertEquals('https://spreadsheets.google.com/feeds/list/G3345eEsfsk60/od6/private/full', $listFeed->getPostUrl());
 }