Class: MangoModel::User
- Inherits:
-
EntityBase
- Object
- EntityBase
- MangoModel::User
- Extended by:
- NonInstantiable
- Defined in:
- lib/mangopay/model/entity/user/user.rb
Overview
User entity’s base class. Should not be instantiated.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#email ⇒ Object
Their email address.
-
#kyc_level ⇒ Object
Their KYC level, one of
KycLevel
. -
#person_type ⇒ Object
Type of user, one of
PersonType
.
Attributes inherited from EntityBase
Method Summary
Methods included from NonInstantiable
Instance Attribute Details
#email ⇒ Object
Their email address
16 17 18 |
# File 'lib/mangopay/model/entity/user/user.rb', line 16 def email @email end |
#kyc_level ⇒ Object
Their KYC level, one of KycLevel
13 14 15 |
# File 'lib/mangopay/model/entity/user/user.rb', line 13 def kyc_level @kyc_level end |
#person_type ⇒ Object
Type of user, one of PersonType
10 11 12 |
# File 'lib/mangopay/model/entity/user/user.rb', line 10 def person_type @person_type end |