Class: KeycloakAdmin::RealmRepresentation
- Inherits:
-
Representation
- Object
- Representation
- KeycloakAdmin::RealmRepresentation
- Defined in:
- lib/keycloak-admin/representation/realm_representation.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#realm ⇒ Object
Returns the value of attribute realm.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
TODO: Add more attributes.
Methods inherited from Representation
Methods included from CamelJson
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/keycloak-admin/representation/realm_representation.rb', line 3 def id @id end |
#realm ⇒ Object
Returns the value of attribute realm.
3 4 5 |
# File 'lib/keycloak-admin/representation/realm_representation.rb', line 3 def realm @realm end |
Class Method Details
.from_hash(hash) ⇒ Object
TODO: Add more attributes
7 8 9 10 11 12 |
# File 'lib/keycloak-admin/representation/realm_representation.rb', line 7 def self.from_hash(hash) realm = new realm.id = hash["id"] realm.realm = hash["realm"] realm end |