Class: User::Identities::NullEmail
- Inherits:
-
Struct
- Object
- Struct
- User::Identities::NullEmail
- Defined in:
- app/models/user/identities/email.rb
Overview
A Null email is an email identity-like object created when the address is not valid.
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address
91 92 93 |
# File 'app/models/user/identities/email.rb', line 91 def address @address end |
Instance Method Details
#authenticate(password) ⇒ Object
92 93 94 |
# File 'app/models/user/identities/email.rb', line 92 def authenticate password return nil end |