Inttegro.Otp.OTPVerificationAttempt (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Otp.OTPVerificationAttempt{
  attempted_at: String.t(),
  id: String.t(),
  presented_token: String.t(),
  recipient: String.t(),
  result: Inttegro.Otp.OTPVerificationAttemptResult.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()