Class: User::Identities::NullEmail

Inherits:
Struct
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of 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