Class: DIDWW::Resource::Identity
- Defined in:
- lib/didww/resource/identity.rb
Constant Summary collapse
- IDENTITY_TYPE_PERSONAL =
'personal'- IDENTITY_TYPE_BUSINESS =
'business'- IDENTITY_TYPE_ANY =
'any'
Instance Method Summary collapse
- #business? ⇒ Boolean
-
#personal? ⇒ Boolean
Type: String Description:.
Methods inherited from Base
Instance Method Details
#business? ⇒ Boolean
79 80 81 |
# File 'lib/didww/resource/identity.rb', line 79 def business? identity_type == IDENTITY_TYPE_BUSINESS end |
#personal? ⇒ Boolean
Type: String Description:
75 76 77 |
# File 'lib/didww/resource/identity.rb', line 75 def personal? identity_type == IDENTITY_TYPE_PERSONAL end |