Class: KeycloakAdmin::MemberRepresentation

Inherits:
UserRepresentation show all
Defined in:
lib/keycloak-admin/representation/member_representation.rb

Instance Attribute Summary collapse

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

#as_json, from_json, #to_json

Methods included from CamelJson

#camelize

Instance Attribute Details

#membership_typeObject

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