Rackspace Auto Scale: Add policies Get()
diff --git a/rackspace/autoscale/v1/policies/requests.go b/rackspace/autoscale/v1/policies/requests.go
index 69ad7cd..ab3d5eb 100644
--- a/rackspace/autoscale/v1/policies/requests.go
+++ b/rackspace/autoscale/v1/policies/requests.go
@@ -120,3 +120,12 @@
return res
}
+
+// Get requests the details of a single policy with the given ID.
+func Get(client *gophercloud.ServiceClient, groupID, policyID string) GetResult {
+ var result GetResult
+
+ _, result.Err = client.Get(getURL(client, groupID, policyID), &result.Body, nil)
+
+ return result
+}