lib/yao/resources/role_assignment.rb in yao-0.15.0 vs lib/yao/resources/role_assignment.rb in yao-0.16.0
- old
+ new
@@ -9,12 +9,12 @@
self.resource_name = "role_assignment"
self.resources_name = "role_assignments"
self.admin = true
self.api_version = "v3"
- # @return [Yao::Resources::Tenant]
+ # @return [Yao::Resources::Project]
def project
- @project ||= Yao::Tenant.get(scope["project"]["id"])
+ @project ||= Yao::Project.get(scope["project"]["id"])
end
class << self
# @param _subpath [String]
# @return [String]