Class: DIDWW::Resource::Identity
- Defined in:
- lib/didww/resource/identity.rb
Constant Summary collapse
- IDENTITY_TYPE_PERSONAL =
'Personal'
- IDENTITY_TYPE_BUSINESS =
'Business'
Instance Method Summary collapse
- #business? ⇒ Boolean
-
#personal? ⇒ Boolean
Type: Boolean Description:.
Methods inherited from Base
Instance Method Details
#business? ⇒ Boolean
73 74 75 |
# File 'lib/didww/resource/identity.rb', line 73 def business? identity_type == IDENTITY_TYPE_BUSINESS end |
#personal? ⇒ Boolean
Type: Boolean Description:
69 70 71 |
# File 'lib/didww/resource/identity.rb', line 69 def personal? identity_type == IDENTITY_TYPE_PERSONAL end |