Class: C2eCore::Drops::UsersConfirmationCodeDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/users_confirmation_code_drop.rb
Instance Method Summary collapse
-
#autofill ⇒ String
-
SMS OTP autofill standard format.
-
-
#expires_at ⇒ String
-
Time after which the ConfirmationCode is no longer accepted.
-
-
#initialize(confirmation_code) ⇒ UsersConfirmationCodeDrop
constructor
A new instance of UsersConfirmationCodeDrop.
-
#resource ⇒ String
-
The resource that the User is confirming.
-
-
#url ⇒ String?
-
Link to confirm the user’s email.
-
-
#value ⇒ String
-
Value of the ConfirmationCode.
-
Constructor Details
#initialize(confirmation_code) ⇒ UsersConfirmationCodeDrop
Returns a new instance of UsersConfirmationCodeDrop.
Instance Method Details
#autofill ⇒ String
Returns - SMS OTP autofill standard format. E.g.: “@consents.stage.speedlo.cloud #123456”. Must appear on the last line of the SMS, see: web.dev/web-otp/#format.
#expires_at ⇒ String
Returns - Time after which the ConfirmationCode is no longer accepted. E.g.: “11:38:56 CET”.
#resource ⇒ String
Returns - The resource that the User is confirming. E.g.: “test@example.com” or “+420333123456”.
#url ⇒ String?
Returns - Link to confirm the user’s email.
#value ⇒ String
Returns - Value of the ConfirmationCode. E.g.: “123456”.