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.
4 5 6 |
# File 'lib/keycloak-admin/representation/realm_representation.rb', line 4 def id @id end |
#realm ⇒ Object
Returns the value of attribute realm.
4 5 6 |
# File 'lib/keycloak-admin/representation/realm_representation.rb', line 4 def realm @realm end |
Class Method Details
.from_hash(hash) ⇒ Object
TODO: Add more attributes
8 9 10 11 12 13 |
# File 'lib/keycloak-admin/representation/realm_representation.rb', line 8 def self.from_hash(hash) realm = new realm.id = hash["id"] realm.realm = hash["realm"] realm end |