Sha256: 752567a79327e95b856a667eae7b1bde4fa74eeda2c0bff6dd068ce9ca6e75e9
Contents?: true
Size: 533 Bytes
Versions: 7
Compression:
Stored size: 533 Bytes
Contents
module Yao::Resources class RoleAssignment < Base friendly_attributes :scope, :role, :user 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') def project @project ||= Yao::Tenant.get(scope["project"]["id"]) end map_attribute_to_resource role: Role map_attribute_to_resource user: User end end
Version data entries
7 entries across 7 versions & 1 rubygems