class KeycloakAdmin::RoleRepresentation

Attributes

client_role[RW]
composite[RW]
id[RW]
name[RW]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/keycloak-admin/representation/role_representation.rb, line 8
def self.from_hash(hash)
  role             = new
  role.id          = hash["id"]
  role.name        = hash["name"]
  role.composite   = hash["composite"]
  role.client_role = hash["clientRole"]
  role
end