blob: 2401a5d038f7a6705872472e414ccbd290ad04bb [file] [log] [blame]
Joe Topjianc21202d2015-02-27 21:32:58 +00001package tenantnetworks
2
3import "github.com/rackspace/gophercloud"
4
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}