Class: Inttegro::OTP::VerificationAttempt
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::OTP::VerificationAttempt
- Defined in:
- lib/inttegro/otp/verification_attempt.rb
Overview
Details of a verification attempt
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#attempted_at ⇒ Time
readonly
Value of the
attempted_atfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#presented_token ⇒ String
readonly
Token submitted for this verification attempt.
-
#recipient ⇒ String
readonly
Value of the
recipientfield in the Inttegro API payload. -
#result ⇒ Inttegro::OTP::VerificationAttemptResult
readonly
Value of the
resultfield in the Inttegro API payload.
Instance Attribute Details
#attempted_at ⇒ Time (readonly)
Value of the attempted_at field in the Inttegro API payload.
Required in the API payload. Wire name: attempted_at.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/otp/verification_attempt.rb', line 48 class VerificationAttempt < T::Struct const :attempted_at, Time const :id, String const :presented_token, String const :recipient, String const :result, Inttegro::OTP::VerificationAttemptResult end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/otp/verification_attempt.rb', line 48 class VerificationAttempt < T::Struct const :attempted_at, Time const :id, String const :presented_token, String const :recipient, String const :result, Inttegro::OTP::VerificationAttemptResult end |
#presented_token ⇒ String (readonly)
Token submitted for this verification attempt.
Required in the API payload. Wire name: presented_token.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/otp/verification_attempt.rb', line 48 class VerificationAttempt < T::Struct const :attempted_at, Time const :id, String const :presented_token, String const :recipient, String const :result, Inttegro::OTP::VerificationAttemptResult end |
#recipient ⇒ String (readonly)
Value of the recipient field in the Inttegro API payload.
Required in the API payload. Wire name: recipient.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/otp/verification_attempt.rb', line 48 class VerificationAttempt < T::Struct const :attempted_at, Time const :id, String const :presented_token, String const :recipient, String const :result, Inttegro::OTP::VerificationAttemptResult end |
#result ⇒ Inttegro::OTP::VerificationAttemptResult (readonly)
Value of the result field in the Inttegro API payload.
Required in the API payload. Wire name: result.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/otp/verification_attempt.rb', line 48 class VerificationAttempt < T::Struct const :attempted_at, Time const :id, String const :presented_token, String const :recipient, String const :result, Inttegro::OTP::VerificationAttemptResult end |