extractEndpoint() public static method

Extracts the endpoint from a full google spreadsheet url.
public static extractEndpoint ( string $url ) : string
$url string
return string
 public function testExtractEndpoint()
 {
     $url = 'https://spreadsheets.google.com/feeds/worksheets/tA3TdJ0RIVEem3xQZhG2Ceg/private/full/od8';
     $expected = '/feeds/worksheets/tA3TdJ0RIVEem3xQZhG2Ceg/private/full/od8';
     $actual = Util::extractEndpoint($url);
     $this->assertEquals($expected, $actual);
 }