Class: KeycloakAdmin::MemberRepresentation
- Inherits:
-
UserRepresentation
- Object
- Representation
- UserRepresentation
- KeycloakAdmin::MemberRepresentation
- Defined in:
- lib/keycloak-admin/representation/member_representation.rb
Instance Attribute Summary collapse
-
#membership_type ⇒ Object
Returns the value of attribute membership_type.
Attributes inherited from UserRepresentation
#attributes, #created_timestamp, #credentials, #email, #email_verified, #enabled, #federated_identities, #first_name, #id, #last_name, #origin, #required_actions, #totp, #username
Class Method Summary collapse
Methods inherited from UserRepresentation
#add_credential, #add_federated_identity
Methods inherited from Representation
Methods included from CamelJson
Instance Attribute Details
#membership_type ⇒ Object
Returns the value of attribute membership_type.
3 4 5 |
# File 'lib/keycloak-admin/representation/member_representation.rb', line 3 def membership_type @membership_type end |
Class Method Details
.from_hash(hash) ⇒ Object
5 6 7 8 9 |
# File 'lib/keycloak-admin/representation/member_representation.rb', line 5 def self.from_hash(hash) member = super(hash) member.membership_type = hash["membershipType"] member end |