Class: Tanker::EmailVerificationMethod
- Inherits:
-
VerificationMethod
- Object
- VerificationMethod
- Tanker::EmailVerificationMethod
- Defined in:
- lib/tanker/core/verification_method.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(email) ⇒ EmailVerificationMethod
constructor
A new instance of EmailVerificationMethod.
Constructor Details
#initialize(email) ⇒ EmailVerificationMethod
Returns a new instance of EmailVerificationMethod.
31 32 33 34 |
# File 'lib/tanker/core/verification_method.rb', line 31 def initialize(email) super() @email = email end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
29 30 31 |
# File 'lib/tanker/core/verification_method.rb', line 29 def email @email end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 |
# File 'lib/tanker/core/verification_method.rb', line 36 def ==(other) super && email == other.email end |