blob: e66434e3c755b6e48a60e609976106093b1d8ae7 [file] [log] [blame]
package apiversions
import (
"strings"
"github.com/rackspace/gophercloud"
)
func APIVersionsURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL("")
}
func APIInfoURL(c *gophercloud.ServiceClient, version string) string {
return c.ServiceURL(strings.TrimRight(version, "/") + "/")
}