blob: 683c107dcbe9aadba5bff6af0bdc5b1bee58bcaf [file] [log] [blame]
Ash Wilson16e75ef2014-09-17 09:54:57 -04001package flavors
2
3import (
Ash Wilson16e75ef2014-09-17 09:54:57 -04004 "github.com/rackspace/gophercloud"
5)
6
Jon Perritt9af03852014-10-07 13:41:35 -05007func getURL(client *gophercloud.ServiceClient, id string) string {
8 return client.ServiceURL("flavors", id)
Ash Wilson16e75ef2014-09-17 09:54:57 -04009}
10
Jon Perritt9af03852014-10-07 13:41:35 -050011func listURL(client *gophercloud.ServiceClient) string {
12 return client.ServiceURL("flavors", "detail")
Ash Wilson16e75ef2014-09-17 09:54:57 -040013}