Class: Tanker::PreverifiedPhoneNumberVerificationMethod
- Inherits:
-
VerificationMethod
- Object
- VerificationMethod
- Tanker::PreverifiedPhoneNumberVerificationMethod
- Defined in:
- lib/tanker/core/verification_method.rb
Instance Attribute Summary collapse
-
#preverified_phone_number ⇒ Object
readonly
Returns the value of attribute preverified_phone_number.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(preverified_phone_number) ⇒ PreverifiedPhoneNumberVerificationMethod
constructor
A new instance of PreverifiedPhoneNumberVerificationMethod.
Constructor Details
#initialize(preverified_phone_number) ⇒ PreverifiedPhoneNumberVerificationMethod
Returns a new instance of PreverifiedPhoneNumberVerificationMethod.
70 71 72 73 |
# File 'lib/tanker/core/verification_method.rb', line 70 def initialize(preverified_phone_number) super() @preverified_phone_number = preverified_phone_number end |
Instance Attribute Details
#preverified_phone_number ⇒ Object (readonly)
Returns the value of attribute preverified_phone_number.
68 69 70 |
# File 'lib/tanker/core/verification_method.rb', line 68 def preverified_phone_number @preverified_phone_number end |
Instance Method Details
#==(other) ⇒ Object
75 76 77 |
# File 'lib/tanker/core/verification_method.rb', line 75 def ==(other) super && preverified_phone_number == other.preverified_phone_number end |