lib/yao/resources/role_assignment.rb in yao-0.6.0 vs lib/yao/resources/role_assignment.rb in yao-0.6.1
- old
+ new
@@ -4,10 +4,10 @@
self.service = "identity"
self.resource_name = "role_assignment"
self.resources_name = "role_assignments"
self.admin = true
self.api_version = "v3"
- self.client.url_prefix = Yao.config.auth_url.gsub('v2.0', 'v3')
+ self.client.url_prefix = Yao.config.auth_url.gsub('v2.0', '')
def project
@project ||= Yao::Tenant.get(scope["project"]["id"])
end