Jamie Hannaford | 5d6b875 | 2014-10-09 10:25:09 +0200 | [diff] [blame] | 1 | package common |
2 | |||||
3 | import ( | ||||
4 | "github.com/rackspace/gophercloud" | ||||
5 | "github.com/rackspace/gophercloud/testhelper/client" | ||||
6 | ) | ||||
7 | |||||
8 | const TokenID = client.TokenID | ||||
9 | |||||
10 | func ServiceClient() *gophercloud.ServiceClient { | ||||
11 | sc := client.ServiceClient() | ||||
12 | sc.ResourceBase = sc.Endpoint + "v2.0/" | ||||
13 | return sc | ||||
14 | } |