Class: Tanker::PreverifiedEmailVerificationMethod
- Inherits:
-
VerificationMethod
- Object
- VerificationMethod
- Tanker::PreverifiedEmailVerificationMethod
- Defined in:
- lib/tanker/core/verification_method.rb
Instance Attribute Summary collapse
-
#preverified_email ⇒ Object
readonly
Returns the value of attribute preverified_email.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(preverified_email) ⇒ PreverifiedEmailVerificationMethod
constructor
A new instance of PreverifiedEmailVerificationMethod.
Constructor Details
#initialize(preverified_email) ⇒ PreverifiedEmailVerificationMethod
Returns a new instance of PreverifiedEmailVerificationMethod.
57 58 59 60 |
# File 'lib/tanker/core/verification_method.rb', line 57 def initialize(preverified_email) super() @preverified_email = preverified_email end |
Instance Attribute Details
#preverified_email ⇒ Object (readonly)
Returns the value of attribute preverified_email.
55 56 57 |
# File 'lib/tanker/core/verification_method.rb', line 55 def preverified_email @preverified_email end |
Instance Method Details
#==(other) ⇒ Object
62 63 64 |
# File 'lib/tanker/core/verification_method.rb', line 62 def ==(other) super && preverified_email == other.preverified_email end |