Class: Tanker::EmailVerification
- Inherits:
-
Verification
- Object
- Verification
- Tanker::EmailVerification
- Defined in:
- lib/tanker/core/verification.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#verification_code ⇒ Object
readonly
Returns the value of attribute verification_code.
Instance Method Summary collapse
-
#initialize(email, verif_code) ⇒ EmailVerification
constructor
A new instance of EmailVerification.
Constructor Details
#initialize(email, verif_code) ⇒ EmailVerification
Returns a new instance of EmailVerification.
12 13 14 15 16 17 18 19 20 |
# File 'lib/tanker/core/verification.rb', line 12 def initialize(email, verif_code) super() ASSERT_UTF8.call(email) ASSERT_UTF8.call(verif_code) @email = email @verification_code = verif_code end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
10 11 12 |
# File 'lib/tanker/core/verification.rb', line 10 def email @email end |
#verification_code ⇒ Object (readonly)
Returns the value of attribute verification_code.
10 11 12 |
# File 'lib/tanker/core/verification.rb', line 10 def verification_code @verification_code end |