blob: 683041ded37a4080fced74925f556e015b612433 [file] [log] [blame]
Joe Topjianc21202d2015-02-27 21:32:58 +00001package tenantnetworks
2
Jon Perritt27249f42016-02-18 10:35:59 -06003import "github.com/gophercloud/gophercloud"
Joe Topjianc21202d2015-02-27 21:32:58 +00004
5const resourcePath = "os-tenant-networks"
6
7func resourceURL(c *gophercloud.ServiceClient) string {
8 return c.ServiceURL(resourcePath)
9}
10
11func listURL(c *gophercloud.ServiceClient) string {
12 return resourceURL(c)
13}
14
15func getURL(c *gophercloud.ServiceClient, id string) string {
16 return c.ServiceURL(resourcePath, id)
17}